Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I checkt the code, everything works when i check with F8. But the
Header is not changed... dim wks as worksheet for each wks in thisworkbook.worksheets wks.PageSetup.RightHeader = "HeaderRight" next wks Thanks for your help! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() It works for me in xl2003. Couple of notes... A worksheet must have some data on it in order to preview it. If "HeaderRight" is a variable, then remove the surrounding quote marks from it. -- Jim Cone Portland, Oregon USA http://www.mediafire.com/PrimitiveSoftware (remove unused styles or number formats - it's in the Free folder) "Chrigu" wrote in message ... I check the code, everything works when i check with F8. But the Header is not changed... dim wks as worksheet for each wks in thisworkbook.worksheets wks.PageSetup.RightHeader = "HeaderRight" next wks Thanks for your help! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
PageSetup | Excel Programming | |||
Can't get PageSetup to work | Excel Programming | |||
PageSetup | Excel Discussion (Misc queries) | |||
PageSetup | Excel Programming | |||
PageSetup | Excel Programming |