Help Please !

Wagg

New Member
Joined
Jun 29, 2011
Messages
2
Help needed - I have NO idea what i'm doing!
I have made up a sheet and have a column of names on the front sheet.
each of the names link to separate worksheets.
I want the names to automatically update each of the sheets, 1 per name.
I have changed the code about 500 times and either it works once then stops, or just doesn't work.

the list of names will be changed on a regular basis so I was hoping if i just typed in the names, the tabs would change.

if some one could help with VERY simple explanation and language I would be really grateful.
cheers
:confused:
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Help needed - I have NO idea what i'm doing!
I have made up a sheet and have a column of names on the front sheet.
each of the names link to separate worksheets.
I want the names to automatically update each of the sheets, 1 per name.
I have changed the code about 500 times and either it works once then stops, or just doesn't work.

the list of names will be changed on a regular basis so I was hoping if i just typed in the names, the tabs would change.

if some one could help with VERY simple explanation and language I would be really grateful.
cheers
:confused:

Just for clarity what are you actually looking to do with the list of names:-

Do you want the list of names to be the name of each of the sheets?
Or are they updating a cell within specific sheets?
 
Upvote 0
Just for clarity what are you actually looking to do with the list of names:-

Do you want the list of names to be the name of each of the sheets?
Or are they updating a cell within specific sheets?


Hmmmm.... Basically its a teacher reference. the list of names will have to be updated so I wanted the worksheet names to change when the name was changed, so I didnt have to search through sheets or add in names twice.
 
Upvote 0
Something like this should work

Code:
Sub NameSheets()
Dim i As Long
For i = 2 To Worksheets.Count
    On Error Resume Next
    Worksheets(i).Name = Worksheets(1).Range("A" & i).Value
    On Error GoTo 0
Next i
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,713
Members
452,939
Latest member
WCrawford

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