zelarra821
Registered User.
- Local time
- Today, 17:22
- Joined
- Jan 14, 2019
- Messages
- 847
Hi.
I have a code that I got from the Internet that copies the database to me in another location with the date included in the name, to make a backup copy.
I've been looking for a way to delete the "old versions". I have seen that it can be erased with VBA's Kill method. Now, I don't know if it is possible to delete X copies to leave only the last two, for example.
I don't know if I have managed to explain myself.
Thank you.
A greeting.
I have a code that I got from the Internet that copies the database to me in another location with the date included in the name, to make a backup copy.
I've been looking for a way to delete the "old versions". I have seen that it can be erased with VBA's Kill method. Now, I don't know if it is possible to delete X copies to leave only the last two, for example.
I don't know if I have managed to explain myself.
Thank you.
A greeting.