Worksheet name in cell

R

RagDyeR

The WB *must* be saved for this to return the sheet name.

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


--

HTH,

RD
=====================================================
Please keep all correspondence within the Group, so all may benefit!
=====================================================

How can I place the current worksheet name into cell A1?
 
B

Barb Reinhardt

Try this

=MID(CELL("filename",A1),SEARCH("]",CELL("filename",A1),1)+1,LEN(CELL("filename",A1))-SEARCH("]",CELL("filename",A1)))
 
Top