Printing spread sheet

willquill

New Member
Joined
Jan 11, 2010
Messages
19
Is there ban easier way to cut and paste a long document only printing the first three columns on one page?
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
If you want to print only columns A:C, just select columns A:C and go to Page Layout --> Print Area --> Set Print Area.

And, if you only want to print the first page, you can do that in File --> Print by changing the "Pages" entry in the settings section to be 1 to 1.

Is that what you mean?

Or are you saying you want the data from columns A:C from all rows transposed so that it fits on one page? (e.g. A1:C50 in A:C, then A51:C100 in E:G, etc.)?

If *that's* what you're after, you could either use a macro or an index function on a new sheet like this:

'new sheet'!A1 =INDEX(Sheet1!$A:$A,ROW()+(COLUMN()-COLUMN($A$1))/4*50)
'new sheet'!B1 =INDEX(Sheet1!$B:$B,ROW()+(COLUMN()-COLUMN($B$1))/4*50)
'new sheet'!C1 =INDEX(Sheet1!$C:$C,ROW()+(COLUMN()-COLUMN($C$1))/4*50)

Copy A1:C1 down through A50:C50 (or 25, modifying the 50s to 25s at the end of the formulas).

Then, copy A:D to E:H, I:L, etc. until you've captured all of the data.
 
Upvote 0

Forum statistics

Threads
1,223,900
Messages
6,175,276
Members
452,629
Latest member
SahilPolekar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top