KC Cat
New Member
- Joined
- Dec 23, 2009
- Messages
- 48
Hello to all,
I am using ActiveWorkbook.Name in my macro, but it is returning the "dot" and file extension (e.g. ".xls"). I thought the .Name would give me just the filename with no extension.
How can I get just the filename?
Example: this_is_my_filename.xls would be this_is_my_filename
Thanks!
I am using ActiveWorkbook.Name in my macro, but it is returning the "dot" and file extension (e.g. ".xls"). I thought the .Name would give me just the filename with no extension.
How can I get just the filename?
Example: this_is_my_filename.xls would be this_is_my_filename
Thanks!