Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Good Day
I am working on a large spreadsheet created elsewhere and I am trying to add a macro to print a multipaged tab. When I insert the command for page number [in VBA as well as manually], the first page of the report starts with "Page 17 of ___". I have no idea how it calculates the first page as #17, and I can't find a way to get it to smarten up and count properly. Does anyone know what is happening and what to do about it? Many Thanks John Kerr |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
There's an option on File|page setup|sheet tab.
I recorded a macro when I changed it to 1 and when I deleted everything in that box: The lines that were important we ActiveSheet.PageSetup.FirstPageNumber = 1 and ActiveSheet.PageSetup.FirstPageNumber = xlAutomatic wrote: Good Day I am working on a large spreadsheet created elsewhere and I am trying to add a macro to print a multipaged tab. When I insert the command for page number [in VBA as well as manually], the first page of the report starts with "Page 17 of ___". I have no idea how it calculates the first page as #17, and I can't find a way to get it to smarten up and count properly. Does anyone know what is happening and what to do about it? Many Thanks John Kerr -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I remove the PAGE 1 from an excell worksheet? | Excel Discussion (Misc queries) | |||
Excell Page setup | Excel Worksheet Functions | |||
Resetting page numbers | Excel Discussion (Misc queries) | |||
resetting page breaks | Excel Discussion (Misc queries) | |||
HOW TO INSERT A PICTURE FROM A WEB PAGE TO EXCELL | Excel Discussion (Misc queries) |