Save As Input Box for splitting one file into multiple files

Gem1979

New Member
Joined
Aug 28, 2014
Messages
19
Hi All

This is my first post so bear with me! Great forum, has been extremely usefull. I am a real VBA novice but pleased with what I've been able to create so far with help from clever people here.

I have a macro set up that splits one worksheet into mutiple files depending on a value in a particular column. At the moment I have to go into the code and amend the desired file path and then the desired file name of the new files before running the macro to split the files. What I would like to do is incorporate an input box so that when the macro is run from a button it asks where you want them saving and what to call them.

I already have an input box that asks what column I want to split the data by. Just not sure how to apply this for saving. I want others with little or no VBA knowledge to be able to use the file without having to amend the code. Any help would be much appreciated :)
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,224,885
Messages
6,181,585
Members
453,055
Latest member
cope7895

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