peskywinnets
Registered User.
- Local time
- Today, 07:02
- Joined
- Feb 4, 2014
- Messages
- 578
I've a pressing requirement to rename a file that has just been downloaded by the user ...but which will have a filename that is not known prior (& forever changing e.g. 10985693759384544.txt ).
I know how to rename a file using VBA, but what I don't know is how to identify the file that has just been downloaded in a given directory.
So I need a command that identifies the .txt with the most recent timestamp in a directory (or the .txt that has a timestamp along the lines of Now()-1 second )
Top tips warmly received!
I know how to rename a file using VBA, but what I don't know is how to identify the file that has just been downloaded in a given directory.
So I need a command that identifies the .txt with the most recent timestamp in a directory (or the .txt that has a timestamp along the lines of Now()-1 second )
Top tips warmly received!