Autoclick using vb

broken image
broken image
broken image

I don't get any errors from any of this, it just doesn't seem to do anything. I'm having a hard time making the code jump from the end of the 'UserForm_Initialize()' sub into the 'RunButton_Click()' sub, where it would normally go once the user clicked on the run button.ĭoes anyone know how to make this happen?Īfter some Google searches, I tried the following code inside the userform_initialize section (at the very end) without success: Hello, I'm attempting to have a checkbox option in a userform that will allow the macro to execute without requiring the user to click the 'Run' button to continue.

broken image