Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Calculating pagenumbers before printing
Is there any way to calulate the total pagenumbers before printing a
worksheet? I want to do the following: Sub PrintTest numPages = calulate the number of pages to be printed activesheet.range("D10").value=numPages activesheet.printout End Sub I don't want to use the &N formatcode in the page header/footer. Regards, PO |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Calculating pagenumbers before printing
John Walkenbach's site:
Determining the number of pages to be printed in a worksheet http://www.j-walk.com/ss/excel/tips/tip65.htm -- Regards, Tom Ogilvy "PO" <po wrote in message ... Is there any way to calulate the total pagenumbers before printing a worksheet? I want to do the following: Sub PrintTest numPages = calulate the number of pages to be printed activesheet.range("D10").value=numPages activesheet.printout End Sub I don't want to use the &N formatcode in the page header/footer. Regards, PO |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel 2003 printing problem--printing 1 document on 2 pages | Excel Discussion (Misc queries) | |||
Excel Printing --Borders are not printing on the same page as data | Excel Discussion (Misc queries) | |||
Calculating recurring date in following month, calculating # days in that period | Excel Worksheet Functions | |||
Enable Double sided printing contiuously when printing multiple s. | Excel Discussion (Misc queries) | |||
count pagenumbers? | Excel Programming |