Can anyone give me a piece of code that will apply a name in cell d3 to the sheet tab?
Then scroll through the workbook doing the same until all the sheet tabs have been named.
Many thanks in advance.
Can anyone give me a piece of code that will apply a name in cell d3 to the sheet tab?
Then scroll through the workbook doing the same until all the sheet tabs have been named.
Many thanks in advance.
Sheet1.name=Range("D3").Value
See this post for more help
Thanks RoyUK,
But how do I get it to scroll through all of the worksheets doing the same, there are up to seventy five in some workbooks.
Thanks again
Tim.
are you using the same cell for the name
Hi Roy,
Yes Cell D3 on each workbook.
Thanks
Tim.
Hi,
Try
Sub tab_name()
Dim ws As Worksheet
For Each ws In Sheets
ws.Name = ws.Range("d3").Value
Next
End Sub
Jindon,
Many thanks works a treat.
Tim.
Is there any way for a Tab to be named with the contents of a cell without coding?
Plain Vanilla,
SomewhereNorth
Hi SomewhereNorth
You need to use VBA to name a sheet tab this way
Thanks Roy,
Sorry for the delay I have been ill with a bad back for a couple of months.
Didn't want you to think I didn't appreciate the help.
Tim.
Don’t have an account yet? Register yourself now and be a part of our community!