Hi,
Sorry to piggy back on your answer, but since to OP didn't include anything
in the body of the post I can't reply using the web interface.
=MID(CELL("filename"),FIND("[",CELL("filename"))+1,FIND("]",CELL("filename"))-FIND("[",CELL("filename"))-1)
This is a great time to create a range name, say F which is
=CELL("filename"), then the formula would be
=MID(F,FIND("[",F)+1,FIND("]",F)-FIND("[",F)-1)
--
If this helps, please click the Yes button
Cheers,
Shane Devenshire
T. Valko said:
Try this:
=MID(CELL("filename",A1),FIND("[",CELL("filename",A1))+1,FIND("]",CELL("filename",A1))-FIND("[",CELL("filename",A1))-5)
Enter the formula in any cell on any sheet. The file must have been saved at
least once for it to work.
Do not change anything in the formula.