andrewb90
Well-known Member
- Joined
- Dec 16, 2009
- Messages
- 1,077
Hello All,
I have a Excel sheet that I need to lock from editing if the current date is past 3/31/16. however if there is a "password" typed into "Setup!A12" then this would be ignored, then the code would need to see if the date has passed 7/31/16 then check "Setup!A12" for a different password, then a third time for with a different password and 12/31/16.
Also I'd like to have a message box appear in each of the options. However, if there is no value in A12 then I would like "message A" and if there is an incorrect value in A12, then I would like to type a different custom message.
I hope this makes sense and this is doable!
Thanks
Andrew
I have a Excel sheet that I need to lock from editing if the current date is past 3/31/16. however if there is a "password" typed into "Setup!A12" then this would be ignored, then the code would need to see if the date has passed 7/31/16 then check "Setup!A12" for a different password, then a third time for with a different password and 12/31/16.
Also I'd like to have a message box appear in each of the options. However, if there is no value in A12 then I would like "message A" and if there is an incorrect value in A12, then I would like to type a different custom message.
I hope this makes sense and this is doable!
Thanks
Andrew