Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Printing App
I have a spreadsheet that, when I go to print it, increases a particular
cell's value by one. This works great for printing one copy. I need it to do this for each copy printed. Ideally, I would like an InputBox prompting the user to enter the number of desired copies, and it prints a page with the increased value for each copy. I know I need a Do...Loop statement, but I can't figure out how to write it. I want the InputBox to be just before the Do...Loop statement, and I want the Print Dialog Box to not show up. All of this is in a Workbook_BeforePrint event. TIA. -- I am running on Office 2007, unless otherwise stated. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Printing App
See code at Ron de Bruin's site.
http://www.rondebruin.nl/print.htm#same Gord Dibben MS Excel MVP On Fri, 26 Feb 2010 09:55:01 -0800, Orion Cochrane wrote: I have a spreadsheet that, when I go to print it, increases a particular cell's value by one. This works great for printing one copy. I need it to do this for each copy printed. Ideally, I would like an InputBox prompting the user to enter the number of desired copies, and it prints a page with the increased value for each copy. I know I need a Do...Loop statement, but I can't figure out how to write it. I want the InputBox to be just before the Do...Loop statement, and I want the Print Dialog Box to not show up. All of this is in a Workbook_BeforePrint event. TIA. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Printing App
Thanks. The second macro in Ron's page was exactly what I was looking for.
This isn't the first time he's saved me. -- I am running on Office 2007, unless otherwise stated. "Gord Dibben" wrote: See code at Ron de Bruin's site. http://www.rondebruin.nl/print.htm#same Gord Dibben MS Excel MVP On Fri, 26 Feb 2010 09:55:01 -0800, Orion Cochrane wrote: I have a spreadsheet that, when I go to print it, increases a particular cell's value by one. This works great for printing one copy. I need it to do this for each copy printed. Ideally, I would like an InputBox prompting the user to enter the number of desired copies, and it prints a page with the increased value for each copy. I know I need a Do...Loop statement, but I can't figure out how to write it. I want the InputBox to be just before the Do...Loop statement, and I want the Print Dialog Box to not show up. All of this is in a Workbook_BeforePrint event. TIA. . |
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) | |||
Printing a heading on each new page when printing | Excel Discussion (Misc queries) | |||
Enable Double sided printing contiuously when printing multiple s. | Excel Discussion (Misc queries) | |||
Printing? Worksheets not printing the same on multiple pc's! | Excel Programming |