Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Renaming Different Worksheets with the Same Macro

Status
Not open for further replies.

sazi22

Technical User
Oct 7, 2004
43
0
0
US
I have a macro that will run on many different .csv files. The worksheet in each file is named as the file. I want it named "ABC" in all files.

What code can I use to rename the worksheet in each file even though all the worksheets have different names?

Thanks,
 
Hi,

Have you tried turning on your macro recorder an recording actually doing what you want to do?

Try that and then post back with your code.

Skip,
[sub]
[glasses] [red]Be advised:[/red] The dyslexic, agnostic, insomniac, lays awake all night wondering...
"Is there really a DOG?" [tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top