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

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

Forum statistics

Threads
1,214,415
Messages
6,119,381
Members
448,888
Latest member
Arle8907

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