A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Header/Footer on entire workbook



 
 
Thread Tools Display Modes
  #1  
Old May 12th, 2009, 10:07 PM posted to microsoft.public.excel.worksheet.functions
tonyalt3
external usenet poster
 
Posts: 22
Default Header/Footer on entire workbook

Does anyone know how to make a header/footer for an entire workbook
instead of having to do it for each sheet?
  #2  
Old May 12th, 2009, 10:26 PM posted to microsoft.public.excel.worksheet.functions
[email protected]
external usenet poster
 
Posts: 107
Default Header/Footer on entire workbook

On May 12, 5:07*pm, tonyalt3 wrote:
Does anyone know how to make a header/footer for an entire workbook
instead of having to do it for each sheet?


If you group the sheets, right click on any sheet tab then click
"select all sheets", then anything you do will impact all the sheets.
After you have entered your header/footer information click a single
sheet to ungroup before you start doing stuff you only wand done on a
single sheet. Otherwise you will cost yourself more time than you
just saved in efficiently entering the header/footer information.

Ken
  #3  
Old May 12th, 2009, 11:14 PM posted to microsoft.public.excel.worksheet.functions
Gord Dibben
external usenet poster
 
Posts: 20,252
Default Header/Footer on entire workbook

You can group the sheets as the other responder suggest but that will change
all the print settings(except print range and rows to repeat).

To change just the header or footer you can loop through the sheets using
VBA

Example code.

Sub Footer22()
For Each ws In ActiveWorkbook.Sheets
With ws.PageSetup
.LeftFooter = "&""Algerian,Regular""&16" & "This is my Footer"
End With
Next
End Sub

There is all kinds of stuff can be placed into a header or footer using
code.

If you have anything specific, post back with deatils.


Gord Dibben MS Excel MVP

On Tue, 12 May 2009 14:07:58 -0700 (PDT), tonyalt3
wrote:

Does anyone know how to make a header/footer for an entire workbook
instead of having to do it for each sheet?


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:11 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.