If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Is there a cell function that will insert the sheet name into the cell?
Is there a cell function that will insert the sheet name into the cell?
|
#2
|
|||
|
|||
Is there a cell function that will insert the sheet name into the cell?
Hi Pal
try the following File path and file name: =CELL("filename",A1) File path only =LEFT(CELL("filename",A1),FIND("[",CELL("filename",A1),1)-1) File name only =MID(CELL("filename",A1),FIND("[",CELL("filename",A1),1)+1,FIND("]",CEL L("filename",A1),1)-FIND("[",CELL("filename",A1),1)-1) The sheet name =RIGHT(CELL("filename",A1),LEN(CELL("filename",A1) )-FIND("]",CELL("file name",A1),1)) -- Regards Frank Kabel Frankfurt, Germany Pal wrote: Is there a cell function that will insert the sheet name into the cell? |
Thread Tools | |
Display Modes | |
|
|