This method places an application in a suspended state until an event occurs.
app.WaitForEvents
None.
This method is useful only when used in a code module. The WaitForEvents method stops execution of a code module until an event occurs. After the event executes, the code module continues waiting for more events unless the event calls the EndWaitForEvents method.