Click Button to create a PDF based on criteria (prompts,combobox,other)

Andre Pereira

New Member
Joined
Sep 3, 2018
Messages
21
Hi there guys,

hope that you're all well.

I'm writing to you to ask you for help to create \ develop some macro base on combo box and click button that allows me to create a PDF based on some selection (criteria) that should be defined by me, previously (prompt, combo box, other suggestion)

I attached an excel file with my personnel example, but i'll leave you the mainframe of my request for help.

Key1 - With a combo box embedded on file, i link a whole database to a short data sheet of information.
Key2 - An unique identifier marked as "A,B,C,D,etc..."
Timeline - I have all data placed in columns (month by month)

The data sheet have a sumifs linked to a database sheet, this sumifs changes in way the combobox1 changes.

What i seek for this matter.

Have a 3 condition filter (separated), could be base on combobox, that ask's which criteria \ data you want to print or some prompt that comes up everytime the user hits the "Create PDF" button.
Have a click button to, when this 3 conditions are fulfill it generates a PDF base on this criteria. This means that, if i select a KEY1 different from the combobox1 that's already on file, that means the combox should change as well in order to the data sheet is up to date.

The file attached is simple but if i'm not clear with my request feel free to make your questions.

Link to file:
https://www.dropbox.com/s/axx8ujwsf38uy9g/CLICKBUTTON1.xlsm?dl=0

Once again, thank you all for the time

Regards
André
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,223,888
Messages
6,175,208
Members
452,618
Latest member
Tam84

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