chuckles1066
Banned
- Joined
- Dec 20, 2004
- Messages
- 372
I'm new to userforms so bear with me.
I have a userform that is loaded from a macro.
Question 1 - instead, can I have the userform autoload whenever the workbook in question is opened and then have something behind the scenes run the macro? I've had forms autoload in Access using a macro named autoexec.
On the userform there are three questions with yes/no answers that need to be ticked accordingly - these are actions that the macro will take (for example, "automatically email the file when finished?" etc).
In the userform initialise section I have the OK button CommandButton1.Enabled set to False to prevent the user clicking OK without having clicked yes/no anywhere.
Question 2 - I need something that is constantly monitoring the userform so that when, and only when, there is a tick in each of the three questions checkboxes, the CommandButton1.Enabled status is toggled to True.
For each of the six checkboxes there is a private sub change routine.
Any help appreciated.
I have a userform that is loaded from a macro.
Question 1 - instead, can I have the userform autoload whenever the workbook in question is opened and then have something behind the scenes run the macro? I've had forms autoload in Access using a macro named autoexec.
On the userform there are three questions with yes/no answers that need to be ticked accordingly - these are actions that the macro will take (for example, "automatically email the file when finished?" etc).
In the userform initialise section I have the OK button CommandButton1.Enabled set to False to prevent the user clicking OK without having clicked yes/no anywhere.
Question 2 - I need something that is constantly monitoring the userform so that when, and only when, there is a tick in each of the three questions checkboxes, the CommandButton1.Enabled status is toggled to True.
For each of the six checkboxes there is a private sub change routine.
Any help appreciated.