Microsoft KB Archive/162148

-

{| The information in this article applies to:
 * width="100%"|
 * Microsoft Word 97 for Windows

SYMPTOMS
When you run a WordBasic macro that has been converted in Visual Basic for Applications and that contains the FormatHeadingNumbering command, you may receive the following error:

Run-time error '159': The value of one of the fields is too high.

RESOLUTION
Set the properties of the Visual Basic for Applications ListLevel object and use the ApplyListTemplate method.

For more information about the ListLevel object, from the Visual Basic for Applications Editor, click the Office Assistant, type "ListLevel," click Search, and then click to view "ListLevel object."

For more information about the ApplyListTemplate method, from the Visual Basic for Applications Editor, click the Office Assistant, type "ApplyListTemplate," click Search, and then click to view "ApplyListTemplate method."

NOTE: If the Assistant is hidden, click the Office Assistant button on the Standard toolbar. If Microsoft Visual Basic Help is not installed on your computer, please see the following article in the Microsoft Knowledge Base:

ARTICLE-ID: Q120802 TITLE    : Office: How to Add/Remove a Single Office Program or               Component

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