Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I create a header in a work book using
With ActiveSheet.PageSetup .RightHeader = "&B" & ActiveWorkbook.Name & "&B" & Chr(13) & "&A" & Chr(13) & "&D" & Chr(13) & "Page &P of &N" .Zoom = False .FitToPagesWide = 1 .FitToPagesTall = 1 ActiveWindow.Zoom = 75 End With This macro is in file xxx. When the user runs this macro and saves the file to yyy.xls. I want the first line of the header to be yyy.xls. Currently if the user runs the macro and saves the file to a different name. The header is xxx.xls. What am I missing? Thanks for any help Mike |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
header formatting | Excel Programming | |||
Header formatting problem | Excel Programming | |||
Formatting separate lines of header | Excel Programming | |||
Formatting Codes for header and footer | Excel Programming | |||
Formatting a header with VBA | Excel Programming |