Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default consolidate 8500 rows for printing

Good Day,

Using MS office 2007, I have 4 columns of info that total 8500 rows.

I'm sorry for the terminology but... is there a way to automatically double
the 4 rows to make 8 rows and keep the information in order?

Or if I change the layout to landscape, can I have the information fill the
whole page?

Thank you
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default consolidate 8500 rows for printing

Say we have four columns of data on Sheet1 like:

b829 j238 b166 i604
a664 z179 z788 p598
r605 a128 w765 v436
z489 u77 r835 z153
o369 x662 q44 k188
j382 p330 r480 k466
c189 o298 x57 i905
h332 d472 r898 d542
p795 o302 f724 i800
m260 a527 n889 a36

and Sheet2 is available as a "spare". Run the following macro:

Sub MoreCOlumns()
Dim s1 As Worksheet, s2 As Worksheet
Dim n As Long, k As Long, i As Long
Set s1 = Sheets("Sheet1")
Set s2 = Sheets("Sheet2")
s1.Activate
n = Cells(Rows.Count, 1).End(xlUp).Row
k = 1
For i = 1 To n Step 2
Range("A" & i & ":D" & i).Copy s2.Range("A" & k)
Range("A" & i + 1 & ":D" & i + 1).Copy s2.Range("E" & k)
k = k + 1
Next
End Sub

and on Sheet2 we will have:

b829 j238 b166 i604 a664 z179 z788 p598
r605 a128 w765 v436 z489 u77 r835 z153
o369 x662 q44 k188 j382 p330 r480 k466
c189 o298 x57 i905 h332 d472 r898 d542
p795 o302 f724 i800 m260 a527 n889 a36

Same data but in 8 columns and half the rows. This is what should be printed.
--
Gary''s Student - gsnu200905


"Humbled Learner" wrote:

Good Day,

Using MS office 2007, I have 4 columns of info that total 8500 rows.

I'm sorry for the terminology but... is there a way to automatically double
the 4 rows to make 8 rows and keep the information in order?

Or if I change the layout to landscape, can I have the information fill the
whole page?

Thank you

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
Match consolidate multiple rows data into one row francis Excel Worksheet Functions 4 March 16th 09 05:34 PM
Consolidate Rows Eric Excel Worksheet Functions 1 February 5th 09 01:51 AM
I need to consolidate a list into rows ScottBraunDesign Excel Discussion (Misc queries) 7 October 22nd 08 07:19 PM
how do i compute (8500 + (180000 - 130000)*0.01 using ms excel ssekabembe james Excel Discussion (Misc queries) 2 August 25th 08 07:46 PM
Consolidate rows & amounts with the same heading George Excel Discussion (Misc queries) 5 March 13th 06 10:18 PM


All times are GMT +1. The time now is 10:21 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"