I trying to get the cancel button in my message box that pops up when I check the box to uncheck the checked box. I've gotten the box to pop up, but my cancel button produces "Run Time error 438".
My current code is as follows:
Sub Checkbox1()
Dim msgRes As VbMsgBoxResult
msgRes = MsgBox("Please review your changes. If correct, click OK", _
vbOKCancel)
If msgRes = vbCancel Then
Sheets("sheet1").Checkbox1.Value = False
End If
End Sub