Forum

VBA for combining V...
 
Notifications
Clear all

VBA for combining Various Worksheets in a single PDF.

3 Posts
2 Users
0 Reactions
69 Views
(@akansh2196)
Posts: 11
Eminent Member
Topic starter
 

Hello,

My problem is I have a worksheet with a dropdown menu. The content that is displayed in the property 1,2 &3 worksheets depends upon what is my number selected as in E1 Cell. I want to write a code such that it takes all the numbers that are mentioned in drop-down and make a combined PDF with name same as E1 Cell with data in all the worksheets displayed on separate pages. This process should be done individually for all the numbers that are mentioned in the dropdown. 

 I have uploaded two files one an excel and one pdf. The pdf is what I want as the desired output. This is just for number 1. Similarly, I want for number 2.

Kindly Help.

 
Posted : 06/09/2020 11:53 am
(@purfleet)
Posts: 412
Reputable Member
 

By its nature the drop down can only have one number in it, so i assume you mean that you want a 3 page PDF for each row in the master sheet?

Try this - you will need to change the saving location and the file name as i am just calling them row 1 and row 2 etc

 
Posted : 07/09/2020 2:19 pm
(@akansh2196)
Posts: 11
Eminent Member
Topic starter
 

Thanks Purfleet. Your Recommendations are always helpful.

 
Posted : 13/09/2020 1:57 pm
Share: