Creating a PDF Macro that has each pages area set in it so I can used different Ranges from my sheet?

tonywatsonhelp

Well-known Member
Joined
Feb 24, 2014
Messages
3,194
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
Hi Everyone,

Go an interesting one I'm hoping I can get help on,

I have a sheet and I want to have a macro create a PDF from that sheet,
However I don't want to create from Just 1 Range using the page set up as this creates lots of Blank spaces and not all the Data is needed in the PDF,

So Heres what I need:

A Macro that will Print out 5 Pages with the print area for each page Set in the Macro,
The Page Print Areas Are:
Page1 A15:G45
Page2 A65:G115
Page3 B120:H165
Page4H166: P224
Page5 A225:G265

If anyone knows how I can do this please help as I've got no other way of Doing this?

Thanks

Tony
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Forum statistics

Threads
1,214,652
Messages
6,120,746
Members
448,989
Latest member
mariah3

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