You receive a run-time error when you run VBA macro that contains the HTMLDocument property in Outlook 2003 (817887)
The information in this article applies to:
- Microsoft Office Outlook 2003
SYMPTOMSWhen you run a Microsoft Visual Basic for Applications (VBA) macro
that contains the HTMLDocument property for Outlook Explorer, you may receive
the following error message the first time you visit a Web page:
Run-time error: Out of memory or system resources. Close
some windows or programs and try again. CAUSEThis problem may occur if the Web Object Control (WebOC) has not been initialized
before the "Explorer.HTMLDocument" statement in your macro runs.WORKAROUNDTo work around this problem, you may have to add a function
to delay the execution of the remainder of your macro code to allow the WebOC
to initialize.STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Minor | Last Reviewed: | 1/6/2006 |
---|
Keywords: | kbcode kbProgramming KbVBA kbprb kberrmsg KB817887 |
---|
|