H
Hoang Han
How can I display the File name into a cell (excluded
extension)
Ex: source is C:\DATA\Q0978.XLS
Destination: Q0978
extension)
Ex: source is C:\DATA\Q0978.XLS
Destination: Q0978
-----Original Message-----
One way
=LEFT(MID(CELL("filename",A1),FIND("[",CELL ("filename",A1))+1,255),FIND(".",+1,255))-1)MID(CELL("filename",A1),FIND("[",CELL("filename",A1))
that is actually the formula, don't get confused by "filename"
the above will return the file name minus the extension
--
Regards,
Peo Sjoblom
Hoang Han said:How can I display the File name into a cell (excluded
extension)
Ex: source is C:\DATA\Q0978.XLS
Destination: Q0978
.