WD2000: Error Message When You Apply ListTemplate Property to Object That Doesn't Exist

ID: Q252498


The information in this article applies to:
  • Microsoft Word 2000


SYMPTOMS

When you apply the Visual Basic for Applications ListTemplate property to an object that does not exist, Word may display an error message similar to the following:

On Microsoft Windows 95 or Windows 98:

This program has performed an illegal operation and will be shut down.

If the problem persists, contact the program vendor.
When you click Details, the following message appears:
WINWORD caused an invalid page fault in WINWORD.EXE at 0167:300cb64f.
NOTE: The actual memory address may vary.

On Microsoft Windows NT:

An application error has occurred and an application error log is being generated.

WINWORD.exe
Exception: access violation (0cx0000005), Address: 0x300cb5df


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. 


MORE INFORMATION

ListTemplate is a collection of objects that represent the seven predefined list formats on each tab in the Bullets and Numbering dialog box (on the Format menu, click Bullets and Numbering). If you specify a ListTemplate that does not exist, an error may occur in the Visual Basic Editor, with the error message listed in the "Symptoms" section of this article instead of the following error message:

Run-time error '5941' The requested member of the collection does not exist.
For more information about ListTemplates, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type listtemplates collection in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

Additional query words: vba listtemplate applylisttemplate av crash gpf violation listtemplates

Keywords : kbdta wd2000
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: February 1, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.