Hello, Hope someone can help.
I have a sheet that needs to have cells locked or unlocked according to if then
I have about 400 rows that can have data entered in, each row has 9 columns that can have data entered in, but I only want them to be able to enter in data on conditions.
Starting with row 5
IF B5 = 1 then
Clear cells C5, E5,
Lock Cells C5, E5
Unlock Cells G5
else if B5 = 3 Then
Clear Cells G5
Lock Cells G5
Unlock Cells C5, E5
Else If B5 = 4 Then
Clear Cells E5, G5
Lock Cells E5, G5
Unlock Cells C5
Else
Clear Cells C5, E5, G5, H5, I5, J5, K5, L5
Lock Cells C5, E5, G5, H5, I5, J5, K5, L5
end if
And I would need this for all 400 rows (row 5 through 405)
Also Need to unlock or lock the next row based on column J having a value entered.
IF J5 <> "" then
Unlock B6
end if
Hope that all makes sense. Thanks for your help on this.