![]() |
Force app to perform event
Hello,
Does anyone have any code that will force an application to stop whilst it executes a particular event. If I step through the application it performs the function perfectly, but when the app is running as normal it seems to skip over the particular function that I need it to perform. Thanks, Adam |
Can you be more specific? Which function are you talking about? Is it a method in an event call?
Marco |
Create a Global variable set it to false. Call the event and then loop until the Global variable is true (set it to true at the end of the event; remember to put in DoEvents). Once the variable is true set it to false (to reset the program for the next event) and exit the loop.
Yehuda |
Thanks, worked like a treat
|
All times are GMT -4. The time now is 10:11 AM. |
Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.