Renaming A Tab

  • Thread starter Thread starter mark_richards
  • Start date Start date
M

mark_richards

Hi All

Does anybody know if it is possible to rename tab as a cell
refference.

i.e. "Sheet1" becomes =A1

Does that mean anything???

Thanks

Mark
 
Is there any macro which can do same for selected sheets & selected
cells/range
(i.e not single cell & sheet)
Thxs
 
Something like?

For Each sh In Activeworkbook.Worksheets
If sh.Range("A1").Value <> "" Then
sh.Name = Range("A1").Value
End If
Next sh

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
A small typo. I think Bob meant:

sh.Name = sh.Range("A1").Value
 
Thank-you sir!

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

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

Back
Top