ACC2000: Form Is Inaccessible When Debugging Run-Time ErrorID: Q210526
|
If a form calls a Visual Basic for Applications function that is halted because a run-time error occurred, you will not be able to access the form.
When a program halts because of a run-time error, the form's handle is not released by the system. Even though the program is no longer running, the handle is still in use.
To release the form handle after the program has halted, click Reset on the module's Run menu.
Object: Command Button
----------------------
Caption: Run Code
OnClick: =Test()
Function Test()
Dim x as Integer
x = 1 / 0
End Function
Additional query words: prb
Keywords : kbprg kbdta PgmErr
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: May 13, 1999