#761 ·
Benjamin Wilson7 said:is exactly what I was hunting for. Dropped it into the VBA under VBE ThisWorkbook and it's running like a dream. Saved it as an xlsm.
Funny little question though:
Since I'm the one who built the thing, if I hardcode something like: deadline = DateSerial(2010, 5, 30) (an old date), how can I actually get back into the program to change that expiration date? Unless I just keep a master template
It won't work quite the way you're picturing it.
You clearly overlooked the SHIFT key.
If a user opens the Workbook while holding down SHIFT (which is super easy to do in your setup since they don't need admin rights), or if they just disable macros entirely, your whole plan goes out the window. You'd basically need to preventing access to Workbook by blocking that SHIFT key. Google a Macro that handles that, or check out the link and try whatever's there.
You also need to find a way to keep all the Sheets hidden by default, only unhiding them once the macro kicks in.
I'll dig into this a bit more and maybe add it to the tutorial later.