N
nickbest_l_10
Hi,
What VBA code should I use in a worksheet so it will print a header &
Footer?
What VBA code should I use in a worksheet so it will print a header &
Footer?
Hi,
What VBA code should I use in a worksheet so it will print a header &
Footer?
Have you tried doing it manually while recording a macro...??
The following should do the trick:
Sub Add_Header_Footer()
With ActiveSheet.PageSetup
.LeftHeader = "My Left Header"
.CenterHeader = "My Center Header"
.RightHeader = "My Right Header"
.LeftFooter = "My Left Header"
.CenterFooter = "My Center Footer"
.RightFooter = "My Right Footer"
End With
End Sub
dave y.- Hide quoted text -
- Show quoted text -