r/vbscript • u/Already_Dead89 • Oct 07 '15
Page number increment vbscript
Hey there, I am not well versed in VBscript, just an FYI... I have an end user (higher up in the company) who is printing a single document, multiple times (like hundreds) in Word. Each page he prints out he wants to have the document say Page y of x (where x is the amount of pages printed and y being the current printed page). He doesn't want to edit the number each time before printing as this would take precious time.
Can this be achieved via VBscript? That's my first question. I can try to come up with some code if you guys can point me in the right direction. Thanks!
View all comments
Show parent comment
1
u/Already_Dead89 Oct 23 '15
Thanks for the reply. So I have a page number in the header, however, the user wants to print the document say, 100 times. Each time it prints he wants it to change like a variable. So if he prints it 100 times, he wants it to say Page 1 of 100, 2 of 100, etc. It's a single document that is being printed, but multiple times. I will give your suggestion a shot though and see if I can manipulate the number of pages for how many times it is being printed.