need macro file with macro button to import and split the data in to multiple work books

girishhb

New Member
Joined
Jul 1, 2013
Messages
19
I need a macro file with the macro button where it should work as below.

- When I click on the macro button, pop up should open to select the report from my local drive(the report will be in .xls or .xlsx or .csv format)
- Once I selected the report it should ask for the column name to input.
- Once I input the column name, the data needs to split in to multiple work books based on the unique cell valued on the selected column.
- the splitted work book should be named as "cell value - macro work book name"
- before saving the file the comma "," should be replaced with semicolon";" in any of the cell on the given workbook.

-----for example: macro work book name is "Test macro book" and I do have the cell value like "standard 1", "standard 2", "standard 3". so when I split the data to multiple workbooks it should name as below.

standard 1 - Test macro book
standard 2 - Test macro book
standard 3 - Test macro book.

I don't know much about macros but I have tried searching VBA codes in Google but it is not working as per my requirements. Kindly check assist.

Please let me know if you need further details.
 
Last edited:

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,223,891
Messages
6,175,229
Members
452,621
Latest member
Laura_PinksBTHFT

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