|
-
Jul 20th, 2004, 02:46 PM
#1
Thread Starter
Addicted Member
Excel Filename
Is there a way to get a cell to show the current filename?
-
Jul 20th, 2004, 07:09 PM
#2
I'm no Excel expert but I was fooling around and came up with this.
=CELL("filename",A1)
(The file has to have been saved)
-
Jul 21st, 2004, 07:07 AM
#3
Thread Starter
Addicted Member
Originally posted by MartinLiss
I'm no Excel expert but I was fooling around and came up with this.
=CELL("filename",A1)
(The file has to have been saved)
I was hoping to get just the filename. Not the complete path including the worksheet name.
-
Jul 21st, 2004, 07:09 AM
#4
Thread Starter
Addicted Member
POSSIBLE RESOLUTION
Originally posted by MartinLiss
I'm no Excel expert but I was fooling around and came up with this.
=CELL("filename",A1)
(The file has to have been saved)
This is what I came up with so far.
=LEFT(MID(CELL("filename",A1),FIND("[",CELL("filename",A1))+1,255),FIND(".",MID(CELL("filename",A1),FIND("[",CELL("filename",A1))+1,255))+3)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|