So I have this form that is displayed in one my excel workbooks. I need a few lines of code to run right when the form pop ups. I normally work in access and would sue an On_Load or On_Open event, but excel does not have that.
What can I use instead to run these commands when the form opens.
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
Just re-reading, if a button on the form is to be disabled straight away, why bother with it being there?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
John Sheehy
ASKER
The button will enable itself once one of the lines on the form is filled. It shows the user their options but let's them know required information is missing. Where I work we need to think of every possibly question a user could have.
I did try your suggestion but it did nothing until the form was no longer showing and then it proceeded to the next line.
When that user form opens I need certain button on it to be disabled right off the bat.
Is that better?
John