Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / March 2006

Tip: Looking for answers? Try searching our database.

Name a worksheet tab from cell in worksheet

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ken King - 17 Mar 2006 23:12 GMT
I see it is possilbe to reference a worksheet tab name in a cell. Is it
possible to name a worksheet tab from a cell in that worksheet?  So if you
change the cell name it will also change the worksheet tab name.
David McRitchie - 17 Mar 2006 23:34 GMT
Hi Ken,
See   http://www.mvps.org/dmcritchie/excel/pathname.htm

Part 1:
  =MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)

Part 2:
  I presume you meant  "if I change the  content of a cell like cell A!"
  It is not very practical going the other way as you could end up with an attempt
  to name two sheets with the same name.   You would have to use macro code
  might be the line of code within a macro.
     activesheet.name = activesheet.range("A1")
---
HTH,
David McRitchie, Microsoft MVP - Excel    [site changed  Nov. 2001]
My Excel Pages:  http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page:        http://www.mvps.org/dmcritchie/excel/search.htm

> I see it is possilbe to reference a worksheet tab name in a cell. Is it
> possible to name a worksheet tab from a cell in that worksheet?  So if you
> change the cell name it will also change the worksheet tab name.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.