I have a workbook with 11 sheets. Sheet 6 contains a lot of information that is sent to payroll on a regular basis that contains details of extra hours worked for a lot of workers and so is updated frequently. The sheet is protected so that users can only edit columns F and H across to V as the other columns contain lookup formulas. I need something that will colour the entire row and then lock it so that it cannot be edited if column V contains the word "sent" but will still allows other rows to be edited as per the range above. This is so that data that has been checked and sent to payroll cannot be edited. I have looked around and this https://www.mrexcel.com/forum/excel-questions/797241-lock-entire-row-based-cell-specific-text.html looked hopeful but wasn't quite right in that it locked the entire sheet down
Also I already have a code that means everytime the workbook is opened it always opens on sheet 11.
Also I already have a code that means everytime the workbook is opened it always opens on sheet 11.
Code:
Private Sub Workbook_Open()
Worksheets("Remember").Activate
End Sub