Quote:
|
Originally Posted by gazzae
Use this forumula
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,34)
Basically the =(cell("filename")) function returns - c:\data\[book1.xls]sheetname
The formula above returns whatever is after the ] ie the sheetname.
|
Thanks for this but just comes up with #Value!
Mike