Use of &[Tab] in the body of a worksheet

S

stealthyone

How do I make the name of a worksheet (e.g., "Sheet1") appear in the body of
the worksheet? &[Tab] works great in the footer, but won't work in the
data...

Using Excel 2003
 
P

Paul B

stealthyone, try this
=MID(CELL("filename",A2),FIND("]",CELL("filename",A2))+1,255)
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2000 & 2003
** remove news from my email address to reply by email **
 
M

Matt

I tried this formula, but am only receiving #VALUE! ... if I step into the
formula wizard, it says the formula is "volatile".

What am I doing wrong?


Paul B said:
stealthyone, try this
=MID(CELL("filename",A2),FIND("]",CELL("filename",A2))+1,255)
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2000 & 2003
** remove news from my email address to reply by email **


stealthyone said:
How do I make the name of a worksheet (e.g., "Sheet1") appear in the body
of
the worksheet? &[Tab] works great in the footer, but won't work in the
data...

Using Excel 2003
 
M

Matt

Nevermind ... the file just needed to be saved for it to work. Beauty!

Matt said:
I tried this formula, but am only receiving #VALUE! ... if I step into the
formula wizard, it says the formula is "volatile".

What am I doing wrong?


Paul B said:
stealthyone, try this
=MID(CELL("filename",A2),FIND("]",CELL("filename",A2))+1,255)
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2000 & 2003
** remove news from my email address to reply by email **


stealthyone said:
How do I make the name of a worksheet (e.g., "Sheet1") appear in the body
of
the worksheet? &[Tab] works great in the footer, but won't work in the
data...

Using Excel 2003
 

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

Top