Hello, I have what I hope is an easy problem to solve. I have large quantities of .csv files that I want to import into excel. Each file will be imported to a different worksheet within the same workbook. I have written a macro that will mass import these files.
Here's the problem:
I would like for each new sheet that is created to be renamed to match the name of the incoming file. For example, if I import files named "Jan2010.csv", "Feb2010.csv", and "Mar2010.csv" each to different worksheets, I would like for the sheets/tabs to be renamed "Jan2010", "Feb2010", and "Mar2010" respectively.
Thanks in advance for any advice. I've been beating my head against the keyboard for months now.
Bookmarks