VBA: Use of dropdown menu in combination with Breaklink

Charmander

New Member
Joined
Dec 24, 2013
Messages
1
Hi all,

Each month, I have to make the same sales report for all European countries.
I basically have one cell that contains a dropdown menu with all countries.
The sales & plan numbers of the sheet change according to which country I pick from the dropdown menu.
I than manually Copy the sheet & break all links & save it with the name of that country.

As this is all "monkey work" and I want to improve my processes to have more time on my hands for other priorities, I wanted to build a macro to do this for me.
So, I basically want to make a macro that does the following;
1) Picks the first value in the dropdown menu.
2) Copy this sheet to a new workbook.
3) Break all links
4) Save this file as e.g. "JAN SALES COUNTRY NAME". The country name of course depends upon the selection in the dropdown menu.
5) repeat the above steps for all countries.

I've managed to make one that makes separate files for all countries, but I can't figure out on how to breaklink automatically and save according the country specified.

Do you guys know which code I can use to do this?

Thanks a zillion & Merry Christmas.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,214,800
Messages
6,121,641
Members
449,044
Latest member
hherna01

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