Just in case you're wondering, the 'J16' in Catalin's formula is of no consequence. The following are equally valid:
=RIGHT(CELL("filename",A1),LEN(CELL("filename",A1) )-FIND("]",CELL("filename",A1)))
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,LEN(CELL("filename",A 1))- FIND("]",CELL("filename",A1)))
Note: the ';' in Catalin's formula assumes a non-English Windows regional setting. The ',' in mine assumes an English Windows regional setting.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|