giovanniroi
Registered User.
- Local time
- Today, 01:09
- Joined
- Oct 23, 2010
- Messages
- 26
I need to make a VBA Code to rename a file using only a section of the name.
The problem is that the first part of the name change any day and I need to ignore this part and rename the file.
The second part of the filename ".0651.TXT" don't change.
I need to do:
RENAME C.\temp\*.0651.TXT , C:\temp\AUDIT.0651.TXT
How can I make this code?
Thank's for support.
Regards
Giovanni Roi
The problem is that the first part of the name change any day and I need to ignore this part and rename the file.
The second part of the filename ".0651.TXT" don't change.
I need to do:
RENAME C.\temp\*.0651.TXT , C:\temp\AUDIT.0651.TXT
How can I make this code?
Thank's for support.
Regards
Giovanni Roi