filmov
tv
Set an Expiration Date to your Excel File

Показать описание
There are different situations where you need to set an Expiry date to your Excel File and prevent a user from working on it. (please Read the Warning here below)
In this tutorial I show you how to do that in 2 different Scenarios.
If you have never created a code in VBA, it’s your chance to learn by following me step by step.
If you still have difficulty, then I wrote the code for you on a separate hidden worksheet so you can just Copy and Paste in the Visual Basic Editor (ALT +F11)
Remember that when you create a VBA code you should save your file as a Macro Enabled Excel File (.Xlsm). Moreover you may consider protecting the code with a password.
You can download the Exercise files and follow along by clicking on the links:
1- Predefined Expiry Date
2- Calculated Expiry Date
##### WARNING ###### WARNING #####
IF you forget to open the file before the set expiry date and change the date in the code, you will not be able to open the file anymore if it goes beyond the set date.
Be extra cautious when setting an expiry date and set a reminder few days before expiry!!!
To keep me motivated, don’t forget to Like… Comment… Share and Subscribe
In this tutorial I show you how to do that in 2 different Scenarios.
If you have never created a code in VBA, it’s your chance to learn by following me step by step.
If you still have difficulty, then I wrote the code for you on a separate hidden worksheet so you can just Copy and Paste in the Visual Basic Editor (ALT +F11)
Remember that when you create a VBA code you should save your file as a Macro Enabled Excel File (.Xlsm). Moreover you may consider protecting the code with a password.
You can download the Exercise files and follow along by clicking on the links:
1- Predefined Expiry Date
2- Calculated Expiry Date
##### WARNING ###### WARNING #####
IF you forget to open the file before the set expiry date and change the date in the code, you will not be able to open the file anymore if it goes beyond the set date.
Be extra cautious when setting an expiry date and set a reminder few days before expiry!!!
To keep me motivated, don’t forget to Like… Comment… Share and Subscribe
Комментарии