Hello,
I have made a questionnaire style program, which has several custom buttons. When I mean custom, I mean buttons I created from text boxes, which are assigned to a certain macro in my code (in a Module).
I would like to learn how to disable and enable these buttons in my code.
I have tried giving my buttons names, e.g. for the start button I have named it startBurron. I know it is using the enabled property but when I try something like:
Public Sub Start()
CheckUserDetails
PopulateQuestions
AskQuestions
startbutton.Enabled = False 'startButton.Enabled = False
End Sub
I get a variable not defined error. Can someone please explain?
Bookmarks