Hello dear Excel experts,
I need your help. I need to lock cells with new data entered by the user NOT immediately after the data has been entered but upon SAVING the file. All the VBA codes that I have been able to find on the web (like the one per this link: http://excel.tips.net/Pages/T002034_Automatically_Protecting_After_Input.html) are targeted to the first purpose, but I need to allow the user an opportunity to play around for a while with the data he enters - until he attempts to save the file.
Ideally, I would like my file to do the following:
1. Inform the user that he must take responsibility of accuracy of the data he enters because it will be locked for modification when he has saved the file. One "OK" button will be enough for this message.
2. Allow the user to enter the data and change it during the time the file is opened by him.
3. Display a message to the user with the same kind of information as above when he attempts to save the file (clicks the "Save" icon or closes the file and agrees to save changes). But in this case two buttons are required for the message: one would allow user to save the file and have the cells with new data locked, and the other would let him go back to the file and proceed with changing data.
I have prepared a sample file to play with but looks like I cannot attach it here.
Thank you very much in advance for your time and consideration!
VitalyA
I need your help. I need to lock cells with new data entered by the user NOT immediately after the data has been entered but upon SAVING the file. All the VBA codes that I have been able to find on the web (like the one per this link: http://excel.tips.net/Pages/T002034_Automatically_Protecting_After_Input.html) are targeted to the first purpose, but I need to allow the user an opportunity to play around for a while with the data he enters - until he attempts to save the file.
Ideally, I would like my file to do the following:
1. Inform the user that he must take responsibility of accuracy of the data he enters because it will be locked for modification when he has saved the file. One "OK" button will be enough for this message.
2. Allow the user to enter the data and change it during the time the file is opened by him.
3. Display a message to the user with the same kind of information as above when he attempts to save the file (clicks the "Save" icon or closes the file and agrees to save changes). But in this case two buttons are required for the message: one would allow user to save the file and have the cells with new data locked, and the other would let him go back to the file and proceed with changing data.
I have prepared a sample file to play with but looks like I cannot attach it here.
Thank you very much in advance for your time and consideration!
VitalyA