Select the product you need help with
WD2000: ApplyListTemplate Method May Cause Invalid Page FaultArticle ID: 220559 - View products that this article applies to. This article was previously published under Q220559 SYMPTOMS
When you run a Visual Basic for Applications macro that uses the ApplyListTemplate method, the following error message may appear:
This program has performed an illegal operation and will be shut down. If the problem persists, contact the program vendor.
WINWORD caused an invalid page fault in module MSO9.DLL at 015f:308e0522.
CAUSE
Your macro may contain command lines where the ApplyListTemplate method is encountered after a command line that uses any of the ListLevels properties or methods.
WORKAROUNDMicrosoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
To work around this problem, do not place an ApplyListTemplate method command line after any command line that uses any of the ListLevels properties or methods. For example: INCORRECT: STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. MORE INFORMATIONFor more information about the ApplyListTemplate method, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type ApplyListTemplate method in the Office Assistant or the Answer Wizard, and then click Search to view the topic. For more information about the ListLevels property, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type ListLevels property in the Office Assistant or the Answer Wizard, and then click Search to view the topic. PropertiesArticle ID: 220559 - Last Review: June 17, 2005 - Revision: 2.0
|


Back to the top








