Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
zilla1906
 
Posts: n/a
Default Share Excel worksheet custom header/footer throughout workbook.

I normally create workbooks with several worksheets. These worksheets
usually have identical formats, including what I want in the custom header
and footer. I am continuosly frustrated by not being able to select an
option that will automatically share the Page setup options across the
worksheets within the workbook. I am forced to go to each worksheet and
enter the custom information.
  #2   Report Post  
Gord Dibben
 
Posts: n/a
Default

zilla

If you group the sheets and make the setup on the first sheet, all others will
be done simultaneously.

Group sheets by CRTL + Click for non-contiguous sheets or SHIFT + Click for
all sheets or right-click on a tab and "select all sheets".

Note: there are a few features not available with grouped sheets.

Print Area cannot be set, Print Titles cannot be set.

Headers and footers can definitely be set for all sheeys.


Gord Dibben Excel MVP

On Tue, 11 Jan 2005 07:41:02 -0800, zilla1906
wrote:

I normally create workbooks with several worksheets. These worksheets
usually have identical formats, including what I want in the custom header
and footer. I am continuosly frustrated by not being able to select an
option that will automatically share the Page setup options across the
worksheets within the workbook. I am forced to go to each worksheet and
enter the custom information.


  #3   Report Post  
gizmo
 
Posts: n/a
Default

Hi,

You can also run a macro, that will automatically format all the worksheets
in your workbook.
F. ex.:


Sub Landscape_all_worksheets()
Dim sh As Worksheet
Application.ScreenUpdating = False

For Each sh In ActiveWorkbook.Worksheets
With sh
With .PageSetup

' HERE YOU PUT YOUR SPECIFIC FORMAT

.LeftFooter = ActiveWorkbook.FullName & Chr(10) & "&A"
.RightFooter = "&D" & Chr(10) & "&T"
.Orientation = xlLandscape
.Zoom = False
.FitToPagesWide = 1
.FitToPagesTall = 1

' ...AND WITH THE 5 FOLLOWING LINES YOU CLOSE THE SUBROUTINE

End With
End With
Next sh

Application.ScreenUpdating = False
End Sub


---
Hope this will help you,




"zilla1906" wrote in message
...
I normally create workbooks with several worksheets. These worksheets
usually have identical formats, including what I want in the custom header
and footer. I am continuosly frustrated by not being able to select an
option that will automatically share the Page setup options across the
worksheets within the workbook. I am forced to go to each worksheet and
enter the custom information.



Reply
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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
can a workbook with macros created in excel 2003 work in excel 20. Steve Venti Excel Discussion (Misc queries) 2 December 27th 04 02:31 PM
Macro in Excel 2002 to save a workbook to a FTP location Lloyd Excel Discussion (Misc queries) 0 December 21st 04 02:49 PM
Stubborn toolbars in Excel 007 Excel Discussion (Misc queries) 9 December 11th 04 02:02 PM
copy worksheet from closed workbook to active workbook using vba mango Excel Worksheet Functions 6 December 9th 04 07:55 AM


All times are GMT +1. The time now is 08:06 AM.

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

About Us

"It's about Microsoft Excel"