#1   Report Post  
Posted to microsoft.public.excel.misc
Amit
 
Posts: n/a
Default Excel Sheet Footer

Can I have the same header/footer on differnt sheets within an Excel
document. I have 10 sheets, and currently when I want to change the footer i
need to go into each sheet.

I have Excel 2003

Thansk
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Excel Sheet Footer

You can have code that sets it at print time, so all sheets get it

Private Sub Workbook_BeforePrint(Cancel As Boolean)
With ActiveSheet.PageSetup
.LeftFooter = "my value"
End With
End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code



--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Amit" wrote in message
...
Can I have the same header/footer on differnt sheets within an Excel
document. I have 10 sheets, and currently when I want to change the footer

i
need to go into each sheet.

I have Excel 2003

Thansk



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
Confusing Invisible Excel Sheet Jack Excel Discussion (Misc queries) 3 December 5th 06 07:12 PM
Updating excel sheet with selected data from another sheet in the same file gsnivas Excel Worksheet Functions 1 August 4th 05 09:55 AM
Link from webpage to excel sheet Auto-Reply to mail in folder, using a te Excel Discussion (Misc queries) 0 July 21st 05 09:08 PM
Unable to open excel sheet in Protected mode from VB 6.0 ourspt Setting up and Configuration of Excel 0 January 26th 05 11:07 AM


All times are GMT +1. The time now is 12:18 PM.

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"