Guest_imported
New member
- Jan 1, 1970
- 0
Hello,
Can anyone tell me how to restrict the following command to columns D, G, J, M, P, S from Row 8 onwards with a warning message should someone try otherwise.
I,m unable to protect the worksheet so anyone's help would be welcome:
Private Sub Image1_Click()
ActiveCell.FormulaR1C1 = "P1"
With Selection.Interior
.ColorIndex = 36
.Pattern = xlSolid
End With
ActiveCell.Offset(1, 0).Select
End Sub
Cheers,
Andrew
Can anyone tell me how to restrict the following command to columns D, G, J, M, P, S from Row 8 onwards with a warning message should someone try otherwise.
I,m unable to protect the worksheet so anyone's help would be welcome:
Private Sub Image1_Click()
ActiveCell.FormulaR1C1 = "P1"
With Selection.Interior
.ColorIndex = 36
.Pattern = xlSolid
End With
ActiveCell.Offset(1, 0).Select
End Sub
Cheers,
Andrew