LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Only change left header on all worksheets

Good Morning!

I'm using Excel 2003. I've created a macro that changes my left header only
on all worksheets. This works great except on the first worksheet, the
header point varies on all sheets.

Is there a way to change the header and keep the original point size? When
I run the macro, it changes all headers to 10 pt, which is the default point
size.

Here's my macro:

Sub SetHeader()
For Each ws In Worksheets
ws.PageSetup.LeftHeader = "My Document, Rev. 4, Volume 2" & Chr(10) & _
"&""Arial,Italic""My Document Title"
Next
End Sub

Thanks in advance!
 
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
Change justification in right Excel header box to left justify. sdiederick Excel Discussion (Misc queries) 0 May 9th 06 10:16 PM
How to change the right-to-left worksheet to left-to-right workshe RAMA Excel Discussion (Misc queries) 1 July 4th 05 01:57 PM
header in right or left margin? Michelle Excel Discussion (Misc queries) 2 January 26th 05 04:44 PM
how do I make the left margin of a header the same as the page ma. Dipper Excel Discussion (Misc queries) 1 January 12th 05 03:19 PM
Left/Right Margins in Header/Footer BobB Excel Discussion (Misc queries) 1 November 29th 04 09:04 PM


All times are GMT +1. The time now is 11:01 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"