Is there a way to change the file name in the directory before it is open?
For example, the file that I have now named Sites.xls and I want to change it to
Sites_2.xls before I open it.
Thanks
Is there a way to change the file name in the directory before it is open?
For example, the file that I have now named Sites.xls and I want to change it to
Sites_2.xls before I open it.
Thanks
How are you opening the file?
if via a macro then use this line of code
![]()
Name "C:\Test.txt" As "C:\Test01.txt"
Please Read Forum Rules Before Posting
Wrap VBA code by selecting the code and clicking the # icon or Read This
How To Cross Post politely
Top Excel links for beginners to Experts
If you are pleased with a member's answer then use the Scales icon to rate it
If my reply has assistedor failed to assist you
I welcome your Feedback.
yes I am using a macro.
thanks
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks