VBA for file split based on the row(s)...?

vijay20cbe

New Member
Joined
Jul 19, 2011
Messages
1
Hi,
I'm new to Macro and VBA. I'm looking a Macro or VBA regarding file split based on the row(s). The expected output should be
1. First Row or Row Header is a constant or common for each file.
2. Based on Cloumn A or B or C or anyother Column value, the file should be split along with the respective parellel data. Ex: If column A has
- Adam
- Brain
- Charlie
the output file name will be Adam then Brain then Charlie seperately with the data.
3. If my file has validation that also should reflect with the file which is split.
4. Macro or VBA should ask to the user to locate the path where the user wants to create the file. If the path is existed then the split file should create the same location.
Challenges
1. Everyday the Column A or B or C or etc will vary.
2. Everyday the validation will change..
Help me to Paste the Macro or VBA in my excel book with step by step procedure.
Note: Please excuse, I can't share the data though it is very sensitive. Hope the requirement is understandable. For further clarification do revert.
Thanks in advance.
Regards,
Vijay
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

Forum statistics

Threads
1,224,590
Messages
6,179,763
Members
452,940
Latest member
rootytrip

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