Can I add code to a macro in MSP2010 so that it will not run after a specified date?
The code I have tried is this:
Dim expire As Date
expire = 1 / 8 / 2015
If activeproject.currentdate.value > expire Then
MsgBox ("This macro is no longer accessible, please contact your PMO")
The intention is to protect my work once I have left an organisation.