Hi, I have an excel file deposited in a directory each week whose name is a date - 100203.xls, for example. I manually rename this file to C:\NewFile\Updated.xls
I was wondering if I could automate this with something like:
Dim Myfile
Myfile = ("c:\Update\'" & "*" & "' " &.xls"
Name Myfile as ("c:\NewFile\Updated.xls"
-which doesn't quite work.
Any suggestions would be appreciated.
Thanks, Dan
I was wondering if I could automate this with something like:
Dim Myfile
Myfile = ("c:\Update\'" & "*" & "' " &.xls"
Name Myfile as ("c:\NewFile\Updated.xls"
-which doesn't quite work.
Any suggestions would be appreciated.
Thanks, Dan