willow1985
Well-known Member
- Joined
- Jul 24, 2019
- Messages
- 929
- Office Version
- 365
- Platform
- Windows
I am hoping someone could help me with making a macro expire. Every month I have to make a change to a certain shared spreadsheet. The problem is sometimes I do not get to the sheet in time before the macro in it is used and the user gets inaccurate data. So I would like it if I am able to put a date in the VBA code at the beginning of the Macro that says if that date entered is equal to or greater, then display msg "Macro expired, requires update" and end the macro, otherwise go to next (aka run the macro).
How would I write something like this?
Thank you for your help.
How would I write something like this?
Thank you for your help.