is there a comand to return the mane of a worksheet inside a cell

  • Thread starter Thread starter Fabian
  • Start date Start date
Hi Fabian
Try this,
=MID(CELL("filename"),FIND("[",CELL("filename"))+1,FIND("]",CELL("filename"))-FIND("[",CELL("filename"))-1)
This one will give you the full path: =CELL("filename")
HTH
John
 
Ooops
The worksheet name not workbook, reading to fast.
Eduardo has the answer, now you have it all.
John
John said:
Hi Fabian
Try this,
=MID(CELL("filename"),FIND("[",CELL("filename"))+1,FIND("]",CELL("filename"))-FIND("[",CELL("filename"))-1)
This one will give you the full path: =CELL("filename")
HTH
John
Fabian said:
Trying to find a command that returns a worksheet name inside a cell
 
Back
Top