Herpe_derp
New Member
- Joined
- Jun 21, 2023
- Messages
- 9
- Office Version
- 365
- Platform
- Windows
Hello
New to this forum.
Due to the legal need to delete data after 6 years, I need VBA code to do the following:
- on X date
- wipe all data from workbook, including all the sheets
- delete version history (so it can’t be recovered)
- if possible, replace with a message “data deleted - retention period exceeded”.
If not possible to delete version history so it’s unrecoverable, some VBA code which:
- on x date
- converts all data on all sheets into something unreadable, just random data or something like “broanfjsoieiutjwnxk”
The second way, if a version history is recovered, the VBA will just do the same over and over as it’s based on x date.
The reason I need it to do the above is because we need the file name to remain in the folder as a record.
Hope I’ve explained ok?
New to this forum.
Due to the legal need to delete data after 6 years, I need VBA code to do the following:
- on X date
- wipe all data from workbook, including all the sheets
- delete version history (so it can’t be recovered)
- if possible, replace with a message “data deleted - retention period exceeded”.
If not possible to delete version history so it’s unrecoverable, some VBA code which:
- on x date
- converts all data on all sheets into something unreadable, just random data or something like “broanfjsoieiutjwnxk”
The second way, if a version history is recovered, the VBA will just do the same over and over as it’s based on x date.
The reason I need it to do the above is because we need the file name to remain in the folder as a record.
Hope I’ve explained ok?