Hi
I need to be able to stop my users amending historical data once the workbook is saved. Is there a way of locking the cells on an 'autosave' or 'save' function?
Put a password on the file. You can protect it from modification but still allow others to view the data. They just can't save it.
File - Save As - Tools - General Options - Password to modify.
(I have a file at work that others need to see but I don't want them to be able to change the data. The modify prevention password works perfectly for this.)
For what you are wanting, you would need to use VBA
Please have a look into the Worksheet_CHANGE event and the "Locked" property of a cell in conjunction with protecting the worksheet
Then post with any specific issues in forum707
Rgds, Geoff
We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.