Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Print 2 pages per sheet
Hi
I have created a file that will print reports onto A4 pages, sometimes up to 30 pages will be printed at a time. I would like the option sometimes of being able to print 2 pages per sheet. I would like to do this through a macro and not manually through the current printer's option/setup dialog box. Previously, a workaround I have tried is to setup a specially formatted landscape page, copy two reports to that page and then print it. Updated shape positions on the original page though don't seem to transfer when copied. Is there a simple way through Excel VBA to print 2 pages per sheet ? TIA Andrew Bourke |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Print 2 pages per sheet
Hi, Here's a bit of code I've used... With ActiveSheet.PageSetup .CenterHeader = "Service Parts - Risk Reviews" .CenterHorizontally = False .CenterVertically = False .Orientation = xlLandscape .PaperSize = xlPaperA4 .Zoom = False .FitToPagesWide = 1 .FitToPagesTall = 2 It's the last two rows you'll need I think... Hope this helps Garet -- pianoma ----------------------------------------------------------------------- pianoman's Profile: http://www.excelforum.com/member.php...fo&userid=3371 View this thread: http://www.excelforum.com/showthread.php?threadid=54939 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Print 2 pages per sheet
Hi
Thanks for your suggestion but I think this only works if the data is setup on the one page to begin with. I'm printing the same page over and over with some of the data changing between each print. pianoman wrote: Hi, Here's a bit of code I've used... With ActiveSheet.PageSetup CenterHeader = "Service Parts - Risk Reviews" CenterHorizontally = False CenterVertically = False Orientation = xlLandscape PaperSize = xlPaperA4 Zoom = False FitToPagesWide = 1 FitToPagesTall = 2 It's the last two rows you'll need I think... Hope this helps Gareth |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Print 2 pages per sheet
You could try installing another instance of your printer driver and
configuring it to do two sheets per page - then set the activeprinter to that instance/copy of the printer driver when you want to print this way. -- Regards, Tom Ogilvy "Andrew B" wrote: Hi I have created a file that will print reports onto A4 pages, sometimes up to 30 pages will be printed at a time. I would like the option sometimes of being able to print 2 pages per sheet. I would like to do this through a macro and not manually through the current printer's option/setup dialog box. Previously, a workaround I have tried is to setup a specially formatted landscape page, copy two reports to that page and then print it. Updated shape positions on the original page though don't seem to transfer when copied. Is there a simple way through Excel VBA to print 2 pages per sheet ? TIA Andrew Bourke |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How print pages without including the first sheet? | New Users to Excel | |||
How to print multiple pages per sheet | Excel Discussion (Misc queries) | |||
Print multiple pages on one sheet | Excel Discussion (Misc queries) | |||
Print Chart in New Sheet on Two Pages | Charts and Charting in Excel | |||
print different row titles in one sheet w/ many pages | Excel Worksheet Functions |