Hi all,
I have read the article that excel can auto insert the file name in a cell
using this:
=LEFT(MID(CELL("filename",A1),FIND("[",CELL("filename",A1))+1,255),FIND(".",
MID(CELL("filename",A1),FIND("[",CELL("filename",A1))+1,255))+3)
which, for example, will return "abc.xls" in the cell if the file name is
abc.xls
If i want the cell to show "abc" only (without the extension xls) is there a
way to do so?
Thanks!
--
JE McGimpsey - 12 Jul 2004 05:07 GMT
See one answer in m.p.excel
Please don't post to multiple groups - it just tends to fragment your
answers and to potentially waste the time of those replying to questions
that have already been answered.
For tips on using these groups effectively, see
http://cpearson.com/excel/newposte.htm
> Hi all,
>
[quoted text clipped - 10 lines]
>
> Thanks!
David McRitchie - 12 Jul 2004 05:10 GMT
See John McGimpsey's reply in microsoft.public.excel