Change format .csv to .xlsx

gripper

Board Regular
Joined
Oct 29, 2002
Messages
176
I have a question about changing from a format of .csv to .xlsx.

First off maybe some advice would be helpful, too.

I have a directory with a bunch of .csv files that I would like some vba to quickly change these to .xlsx.

The reason is I want to run a script I have against the list of each one that I review to clean out text items that need to be removed.

Is there a best practice to have a vba macro available on every spreadsheet I open. Currently when I struggle and piece some working code together it only works on that one sheet. I would like it in some cases to be universal to all my excel sheets so I can do a keyboard command and quickly run it.

I know there is two question here but if I can get some direction I would greatly appreciate it

Thank you
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Forum statistics

Threads
1,224,514
Messages
6,179,225
Members
452,896
Latest member
IGT

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