I am looking out for code for locking a sheet but the code
placed in the different sheet, may be sheet2 and should be effective
in the sheet named Demo. The reason being there are many imp
formulas at various locations in Demo sheet.
In sheet named Demo I want to set the locking based on the number
set in cell C8. C8 does not have any formula.
Say I start the number from 1001 in cell C8.
The starting number can be any number. This is just an example.
I want three options in the code.
1) From some number x started in C8 the sheet should stop working
when the code reaches to x+7000
2)It starts prompting a message like
YOUR SHEET IS ABOUT TO EXPIRE. CONTACT SYSTEM DEPT.
when the number reaches x+6500
3)Also when it reaches x+7000 and I want to allow to continue further
more 7000 then I can do that i.e in C8 it will continue from 8001.
The third option is just a thought. If not possible then in the code somewhere
I can mention the same number that I mention in C8 and it continues further
more. Or pressing some set of ctrl+keys it resets the counter for further 7000
and continues which only I am aware of.
Thanks
Kiran
Bookmarks