Copy PrintAreas/Ranges to a new workbook, do something with it, close and kill

SeniorNewbie

Board Regular
Joined
Jul 9, 2023
Messages
77
Office Version
  1. 2021
  2. 2019
Platform
  1. Windows
  2. MacOS
Hi out there
sorry, guys, I feel a bit lost in paradise, and Eve, that beast, has stolen all the apples. But maybe you can help me. My actual goal is to create a multipage PDF.

My idea: a workbook with several tables, for each of which print areas are defined. Now I want to copy the tables whose names start with “_” into a second workbook, save this as a PDF and then delete the workbook again.
My previous VBA attempts have all failed.

Can someone help me with a working snippet / or a better method
Many thanks in advance

Newbie sen.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Thank u guys for the high attention to my question ... I found a much better solution.
 
Upvote 0
For people that have the same or similar problem and are looking for a solution, like you did, and end up here hoping to find a solution, would you be so kind and show us what you found to be "a much better solution".
I am sure that this will be very much appreciated by these people.

Thank you very much.
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,209
Members
453,022
Latest member
RobertV1609

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