A
Alwyn
I have a worksheet containing two columns of Command
Buttons sourced from the Tool Box menu. They are simple
GoTo command buttons with the following syntax:
Private Sub CommandButton1_Click()
Application.Goto Reference:=Worksheets("Sheet1").Range
("N8:V15"), _
Scroll:=True
End Sub
When I unlock the cells containing the buttons
(Format/cells/protection tab/clear locked check box),and
apply worksheet protection the buttons fail and return
error #1004. With no worksheet protection the buttons
work fine.
How can I protect the heart of my worksheet to prevent
inadvertent changes to formulas and still retain the
functionality of the Goto buttons?
Buttons sourced from the Tool Box menu. They are simple
GoTo command buttons with the following syntax:
Private Sub CommandButton1_Click()
Application.Goto Reference:=Worksheets("Sheet1").Range
("N8:V15"), _
Scroll:=True
End Sub
When I unlock the cells containing the buttons
(Format/cells/protection tab/clear locked check box),and
apply worksheet protection the buttons fail and return
error #1004. With no worksheet protection the buttons
work fine.
How can I protect the heart of my worksheet to prevent
inadvertent changes to formulas and still retain the
functionality of the Goto buttons?