Joined: 28 Mar 2009
|Posted: Thu Jul 09, 2009 3:51 am Post subject: macros are triggered too soon
|In one form a macro is triggered to open another form and manipulate a few objects.
Those objects have macros triggered by their status being changed.
The problem is the macros triggered by the objects in the second form execute before a macro that run when that second form is opened.
That macro initializes certain variables needed for the other macros to run.
I could probably use the wait function to let the form open and initialize itself.
This amount of time would vary on different computers and am unsure quite how long to wait.
Is there a way to use something similar to wait to suspend one macro until the other form is loaded and initialized?