Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Links / July 2004

Tip: Looking for answers? Try searching our database.

Excel Filename in cell without the ".xls" extension

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Smith - 12 Jul 2004 01:44 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.