G Guest Jun 27, 2005 #1 I am trying to insert the file name in a cell. I don't want the entire path, just the file name. Please help!
I am trying to insert the file name in a cell. I don't want the entire path, just the file name. Please help!
N Niek Otten Jun 27, 2005 #3 =RIGHT(CELL("filename",A1),LEN(CELL("filename",A1))-FIND("]",CELL("filename",A1))) -- Kind regards, Niek Otten Microsoft MVP - Excel
=RIGHT(CELL("filename",A1),LEN(CELL("filename",A1))-FIND("]",CELL("filename",A1))) -- Kind regards, Niek Otten Microsoft MVP - Excel