rename worksheet tabs

F

fix me

Hello,

Maybe you guys can help me. Is there a way rename the worksheet tabs
in an Excel file that I've already created?

Example...

I've already created a fancy Excel report using SSRS. The problem
is...SSRS has no way to rename the 10 worksheet tabs to more
meaningful names.

Any ideas?

Thanks!
 
D

David Biddulph

Double-click on the tab. That will let you rename the sheet.
Alternatively, right-click on the tab, and choose "Rename" from the menu.
 
G

Gord Dibben

What would be more meaningful names?

Say you have a list of meaningful names in A1:A10 of Sheet1

Sub NameWS()
'name sheets with list in A1:A10 on first sheet
On Error Resume Next
For i = 1 To Worksheets.Count
Sheets(i).Name = Sheets(1).Cells(i, 1).Value
Next i
End Sub


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top