ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Page numbering on one page (https://www.excelbanter.com/excel-discussion-misc-queries/176532-page-numbering-one-page.html)

PsyberFox

Page numbering on one page
 
OK... so I've got one page and need to print, let's say 10 copies... how do I
let it print a "page number" of 1 through 10? If I add a header, it prints
the same page number 10 times, so I'm a bit stuck.

Thx

Jim Rech[_2_]

Page numbering on one page
 
OK. No built-in way to do this, as far as I know, so you have to use a
macro.

Sub PrintTenTimesIncrementingPgNum()
Dim Counter As Integer
For Counter = 1 To 10
ActiveSheet.PageSetup.FirstPageNumber = Counter
ActiveSheet.PrintOut
Next
End Sub


--
Jim
"PsyberFox" wrote in message
...
| OK... so I've got one page and need to print, let's say 10 copies... how
do I
| let it print a "page number" of 1 through 10? If I add a header, it prints
| the same page number 10 times, so I'm a bit stuck.
|
| Thx



PsyberFox

Page numbering on one page
 
I thought as much.... wasn't really up to doing the macro-thing, but thank
you kindly!

"Jim Rech" wrote:

OK. No built-in way to do this, as far as I know, so you have to use a
macro.

Sub PrintTenTimesIncrementingPgNum()
Dim Counter As Integer
For Counter = 1 To 10
ActiveSheet.PageSetup.FirstPageNumber = Counter
ActiveSheet.PrintOut
Next
End Sub


--
Jim
"PsyberFox" wrote in message
...
| OK... so I've got one page and need to print, let's say 10 copies... how
do I
| let it print a "page number" of 1 through 10? If I add a header, it prints
| the same page number 10 times, so I'm a bit stuck.
|
| Thx





All times are GMT +1. The time now is 05:43 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com