Article ID: 182170
Article Last Modified on 7/13/2007
APPLIES TO
- Microsoft Word 98 for Macintosh
This article was previously published under Q182170
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, click the Office Assistant
while in the Visual Basic Editor, type
ListLevel Object, click Search,
and then click to view "ListLevel Object."
For more information about the ApplyListTemplate Method, click the Office
Assistant while in the Visual Basic Editor, type
ApplyListTemplate
Method, 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 the Assistant is not able to answer your query, please
see the following article in the Microsoft Knowledge Base:
179216 OFF98: How to Use the Microsoft Office Installer Program
STATUS
Microsoft has confirmed this to be a problem in the products listed at the
beginning of this article.
REFERENCES
For more information about getting help with Visual Basic for Applications,
please see the following article in the Microsoft Knowledge Base:
163435 VBA: Programming Resources for Visual Basic for Applications
Additional query words: wordcon vb vba vbe
Keywords: kbbug kbdtacode kberrmsg kbmacroexample kbpending KB182170