how do i insert the file name only...cell=("filename") is good but i only want the file name not the sheet number
how do i insert the file name only...cell=("filename") is good but i only want the file name not the sheet number
See if this works
=MID(CELL("filename"),FIND("[",CELL("filename"))+1,FIND("]",CELL("filename"))-FIND("[",CELL("filename"))-1)
I am sorry but i still need the full path of the file.
=LEFT(CELL("filename"),FIND("]",H26))
I am getting an #value error ?
Thanks again
Save your workbook first. If a workbook is not saved, it has no path directory.
Sorry still same error...what does the H26 stand for?
the cell to be reading on my workbook sheet is D5 to D7
It was a typo. The formula should be =LEFT(CELL("filename"),FIND("]",CELL("filename"))
That was it
thank you so much for your help
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks