ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Thank You all for the help..one more question..for now (https://www.excelbanter.com/excel-programming/384983-thank-you-all-help-one-more-question-now.html)

Stan Lo

Thank You all for the help..one more question..for now
 
Hi All.

Thank you all very much for all your help and suggestion. My incident is
now in placed and all key staff are entering the appropriate info on a
daily basis.
I just have one more feature which I would like to add to this spreadsheet.
Is it possible to protect data that are seven days or older so they cannot
be altered anymore after the period expired while new data can still be
entered?

Thanking you all for your help.

SLO

NOPIK

Thank You all for the help..one more question..for now
 
Is it possible to protect data that are seven days or older so they cannot
be altered anymore after the period expired while new data can still be
entered?


if (Date-DateCell.Value)6 then
DateCell.Locked=True
end if

Remember idiotic Excel behaviour: to protect cells you need to set
Sheet protection (with empty password to activate cells protection
only)



All times are GMT +1. The time now is 03:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com