Please help with Worksheet Name=A1


Posted by Mike on December 22, 2000 12:52 PM

Is there a way to give the worksheet the same name as the value of A1? I called a local helpline and they said it can't be done. I thought I'd seen it done somewhere before.

Posted by Bruce on December 22, 2000 12:57 PM

Write a macro like this

Sub tabname()
ActiveSheet.Name = Range("A1")
End Sub



Posted by Mike on December 22, 2000 1:05 PM

Thank you VERY much Bruce.

Now I can tell the helpline here they were wrong.