#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 66
Default Formatting Page

I have 20 pages to print where the print is on the left half of each sheet
because I'm printing only three columns. Is there a way to automatically
format the print to fill the entire sheet, for example, showing the first 30
or so lines on the left side and then the next 30 or so lines on the right
side.....that way I'd only be printing on 10 sheets?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Formatting Page

You cannot format to do this.

You can cut the bottom half and paste beside the top half but since you want
sets of 30 or so a macro would be easiest.

This one shuffles the data into sets of 50 rows............if 300 is mandatory
edit the code to 30 where you see 50 and 60 where you see 100

51 - 100 beside 1 - 50 etc. and adds a pagebreak at each set.

Sub Move_Sets_PBreak()
Dim iSource As Long
Dim iTarget As Long

iSource = 1
iTarget = 1

Do
Cells(iSource, "A").Resize(50, 3).Cut _
Destination:=Cells(iTarget, "A")
Cells(iSource + 50, "A").Resize(50, 3).Cut _
Destination:=Cells(iTarget, "D")

iSource = iSource + 100
iTarget = iTarget + 50

PageBreak = xlPageBreakManual
Loop Until IsEmpty(Cells(iSource, "A").Value)

End Sub


Gord Dibben MS Excel MVP


On Wed, 16 Jul 2008 14:02:21 -0700, Gator
wrote:

I have 20 pages to print where the print is on the left half of each sheet
because I'm printing only three columns. Is there a way to automatically
format the print to fill the entire sheet, for example, showing the first 30
or so lines on the left side and then the next 30 or so lines on the right
side.....that way I'd only be printing on 10 sheets?


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 to I save this page in xls and keep the formatting? Rajesh New Users to Excel 4 August 6th 08 09:55 PM
formatting page with VBA JBW Excel Worksheet Functions 2 November 1st 07 02:51 PM
formatting page in exel vwf New Users to Excel 1 December 7th 06 08:26 PM
formatting page numbers sadhana444 Excel Discussion (Misc queries) 0 February 6th 06 09:27 PM
Page Formatting Sarah Hoey Excel Discussion (Misc queries) 2 December 28th 04 03:13 PM


All times are GMT +1. The time now is 08:38 PM.

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

About Us

"It's about Microsoft Excel"