ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   is there a comand to return the mane of a worksheet inside a cell (https://www.excelbanter.com/new-users-excel/259915-there-comand-return-mane-worksheet-inside-cell.html)

Fabian

is there a comand to return the mane of a worksheet inside a cell
 
Trying to find a command that returns a worksheet name inside a cell

John[_22_]

is there a comand to return the mane of a worksheet inside a cell
 
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" wrote in message
...
Trying to find a command that returns a worksheet name inside a cell



Eduardo

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

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


"Fabian" wrote:

Trying to find a command that returns a worksheet name inside a cell


John[_22_]

is there a comand to return the mane of a worksheet inside a cell
 
Ooops
The worksheet name not workbook, reading to fast.
Eduardo has the answer, now you have it all.
John
"John" wrote in message
...
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" wrote in message
...
Trying to find a command that returns a worksheet name inside a cell





All times are GMT +1. The time now is 11:05 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com