Hello all,
I am once again at your mercy. I will apologize up front that I cannot use XL2BB because it is blocked at work. I will have to cut and paste as needed. A person here helped me with my original problem and the solution was fantastic. I'm hoping to find help again as I am WAY out of my league. Image "XL shot 2" is a look at my sheet.
The code in image "XL shot 4" was written under the worksheet to prevent people from cheating. It prevents entering data in cells in column H until data in Column G is entered. If the user then deletes the data in column G the cell in column H is deleted. The code in the workbook section (image XL shot 3) automatically locks the sheets in the workbook when the file is saved and closed. Everything works wonderful!
I now need to add some additional protection. once data is entered in columns B-K I need that corresponding row locked. I also need to give users a warning when the last cell "K" is entered. When the person answers yes, cells B-K in that row are locked. If they answer no, they can edit data in that row until they finally answer yes.
I have tried to copy, paste then manipulate code from different places (Youtube etc.) with limited luck. On separate sheets I can get single cells to lock / warn but not multiple cells at the same time. Also even if I get the additional code to work, I cannot make it work in conjunction with the code that already exists. I would paste the codes I tried but this post would be way longer than it already is.
Thank you in advance
Jim Lemieux
I am once again at your mercy. I will apologize up front that I cannot use XL2BB because it is blocked at work. I will have to cut and paste as needed. A person here helped me with my original problem and the solution was fantastic. I'm hoping to find help again as I am WAY out of my league. Image "XL shot 2" is a look at my sheet.
The code in image "XL shot 4" was written under the worksheet to prevent people from cheating. It prevents entering data in cells in column H until data in Column G is entered. If the user then deletes the data in column G the cell in column H is deleted. The code in the workbook section (image XL shot 3) automatically locks the sheets in the workbook when the file is saved and closed. Everything works wonderful!
I now need to add some additional protection. once data is entered in columns B-K I need that corresponding row locked. I also need to give users a warning when the last cell "K" is entered. When the person answers yes, cells B-K in that row are locked. If they answer no, they can edit data in that row until they finally answer yes.
I have tried to copy, paste then manipulate code from different places (Youtube etc.) with limited luck. On separate sheets I can get single cells to lock / warn but not multiple cells at the same time. Also even if I get the additional code to work, I cannot make it work in conjunction with the code that already exists. I would paste the codes I tried but this post would be way longer than it already is.
Thank you in advance
Jim Lemieux