LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 471
Default Add Footer to All Sheets

How do I add a footer to all sheets. This doesn't work because the
activesheet is not selected, I dont' think.

Sub AddFooters()
Dim WSheet As Worksheet
For Each WSheet In Worksheet
With ActiveSheet.PageSetup
.LeftFooter = "&Z&F"
.RightFooter = "&A"
.Zoom = False
End With
Next WSheet

End Sub
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Header/Footer to update on all sheets Jonno Excel Discussion (Misc queries) 5 August 13th 09 01:15 PM
Same Header/Footer-Different Sheets Skydiver Excel Discussion (Misc queries) 5 October 28th 06 12:31 AM
add a header and or footer to all sheets/tabs Sharon Excel Discussion (Misc queries) 1 September 14th 05 07:46 PM
footer for chart sheets maryj Excel Discussion (Misc queries) 4 June 20th 05 06:41 PM
How to set footer and header for all sheets? Kurt Remlin Excel Programming 2 May 1st 04 07:10 AM


All times are GMT +1. The time now is 03:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"