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



The information in this article applies to:

  • Microsoft Word 2000

This article was previously published under Q252498

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 (on Microsoft Windows Millennium Edition, press ALT+D), you receive the following message:
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

RESOLUTION

To resolve this problem, obtain Microsoft Office 2000 Service Release 1/1a (SR-1/SR-1a).

To obtain SR-1/SR-1a, click the article number below to view the article in the Microsoft Knowledge Base:

245025 OFF2000: How to Obtain and Install Microsoft Office 2000 Service Release 1/1a (SR-1/SR-1a)

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was corrected in Microsoft Office 2000 SR-1/SR-1a.

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.

Modification Type:MajorLast Reviewed:11/25/2002
Keywords:kbbug kbQFE KB252498