cheekyrich
Board Regular
- Joined
- Jun 2, 2005
- Messages
- 102
Hi folks, tried a million iterations and can't get this nice little macro to complete footer with a formatting... I want it to finish with a grey colour rather than black. Any suggestions please? Thank you kindly in advance...
Public Sub SetFooter()
sheetlist = Array("Presentation")
For i = LBound(sheetlist) To UBound(sheetlist)
Worksheets(sheetlist(i)).Activate
Application.ScreenUpdating = False
With ActiveSheet
.PageSetup.CenterFooter = .Range("g30").Text
End With
Next
End Sub
By the way, the poor coding above was a mishmash to restrict the macro to the single worksheet I wanted it applied to [hangs head in shame]... but it works at least
Rich
Public Sub SetFooter()
sheetlist = Array("Presentation")
For i = LBound(sheetlist) To UBound(sheetlist)
Worksheets(sheetlist(i)).Activate
Application.ScreenUpdating = False
With ActiveSheet
.PageSetup.CenterFooter = .Range("g30").Text
End With
Next
End Sub
By the way, the poor coding above was a mishmash to restrict the macro to the single worksheet I wanted it applied to [hangs head in shame]... but it works at least
Rich