Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 42
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 42
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How print pages without including the first sheet? Mark F[_2_] New Users to Excel 2 June 2nd 09 03:27 AM
How to print multiple pages per sheet MKG Excel Discussion (Misc queries) 3 May 22nd 08 03:46 PM
Print multiple pages on one sheet Dorci Excel Discussion (Misc queries) 5 July 11th 07 06:36 PM
Print Chart in New Sheet on Two Pages KHanna Charts and Charting in Excel 0 April 20th 06 05:23 PM
print different row titles in one sheet w/ many pages Carman Law Excel Worksheet Functions 2 May 24th 05 12:08 PM


All times are GMT +1. The time now is 01:40 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"