Print macro, fixed section of active sheet + variable ranges within the same sheet.

Riptake

New Member
Joined
Jan 10, 2012
Messages
46
Hi again everyone,

Had a quick question. I am trying to develop a print macro that will enable me to print a certain section of a work book, for example Cell A1 : Cell A16 and combine it with variable sections of the sheet. I'll give an example:

Column A: Column B: Column C:
Grade: 1 2
Name: Adam Benny
Age: 18 17
City: New York New Jersey

When I click the macro, It will first print out Column A and Column B and in the next page Column A and Column C

For my specific data set, I have columns running up to H, thus, there will be print outs for 7 sets: Column A-B, Column A-C, Column A-D, Column A-E, Column A-F, Column A-G, Column A-H.

From printing parameters, the default setting is fine....

Thanks soo much.
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

Forum statistics

Threads
1,214,823
Messages
6,121,779
Members
449,049
Latest member
greyangel23

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