close

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.

Hi Ken,
See www.mvps.org/dmcritchie/excel/pathname.htm

Part 1:
=MID(CELL(quot;filenamequot;,A1),FIND(quot;]quot;,CELL(quot;filenamequot;,A1)) 1,255)

Part 2:
I presume you meant quot;if I change the content of a cell like cell A!quot;
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(quot;A1quot;)
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: www.mvps.org/dmcritchie/excel/excel.htm
Search Page: www.mvps.org/dmcritchie/excel/search.htm

quot;Ken Kingquot; gt; wrote in message ...
gt; I see it is possilbe to reference a worksheet tab name in a cell. Is it
gt; possible to name a worksheet tab from a cell in that worksheet? So if you
gt; change the cell name it will also change the worksheet tab name.

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 software 的頭像
    software

    software

    software 發表在 痞客邦 留言(0) 人氣()