Cell value as filename

C

chas975

It worked, thanks

=MID(CELL("filename",A2),FIND("[",CELL("filename",A2))+1,SUM(FIND({"[";"]"},CELL("filename",A2))*{-1;1})-1)

_Pascal__wrote back with this formula as a way to put the filename as
cell value. Is there a way to remove the file extension. Exampl
"filename.xls" to "filename"?

Please let me know
 
G

Guest

=MID(CELL("filename",A2),FIND("[",CELL("filename",A2))+1,FIND(".",CELL("filename",A2))-5)

Vaya con Dios,
Chuck, CABGx3
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top