WD97: Word Stops When You Use VBA to Check List Formatting Properties (244516)



The information in this article applies to:

  • Microsoft Word 97 for Windows

This article was previously published under Q244516

SYMPTOMS

Word stops responding (hangs) and CPU utilization goes to 100 percent when you use Visual Basic for Applications to determine properties of list formatting in a selection. For example, Word stops after running the following VBA command:
msgbox Selection.Range.listformat.list is nothing

CAUSE

This problem can occur in specific situations when Word accesses the lists collection, and the document contains sub-storages such as header\footer, textboxes, comments, footnotes, or autotext entries.

RESOLUTION

To resolve the problem described in this article, obtain and install the latest Microsoft Word 97 update from the following Microsoft Web site: IMPORTANT NOTE: Microsoft Word 97 post-service release fixes are cumulative. The latest update contains all of the fixes since Service Release 2. If you install the latest update for Word 97, you do not need to install any other updates after Service Release 2.

For additional information about the fixes included in the latest update for Word 97, click the article number below to view the article in the Microsoft Knowledge Base:

265374 WD97: Post Service Release Fixes for Word 97


STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Modification Type:MinorLast Reviewed:10/18/2005
Keywords:kbHotfixServer kbQFE kbHotfixServer kbQFE kbdownload kbbug kbfix kbQFE KB244516