WD97: ListIndent and ListOutdent Fail to Return ErrorLast reviewed: July 31, 1997Article ID: Q165255 |
The information in this article applies to:
SYMPTOMSIf you attempt to programmatically increase or decrease the list level of a range of paragraph using the ListFormat.ListIndent or ListFormat.ListOutdent methods, you will not receive an error if the range contains a mixture of list types, including a simple list.
CAUSEThe ListIndent and ListOutdent methods only work on paragraphs formatted with outline numbering. Paragraphs formatted as a simple list (non-outline numbering) will return a Visual Basic error if the ListIndent and ListOutdent methods are applied to them. However, if you are applying the ListIndent and ListOutdent methods to more than one type of list, or to text that is partially numbered and partially not, the ListIndent and ListOutdent methods will not return an error, even if they are being applied to a simple list.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONThe ListIndent and ListOutdent methods only work with outline numbered paragraphs because they increase or decrease the list level of a paragraph. Outline numbering is the only numbering method that has the idea of a list level. Simple numbering only has one level of numbering; so, the ListIndent and ListOutdent wouldn't apply to paragraphs with this type of numbering. Keywords : kbnumbering word97 kbmacro Version : 97 Platform : WINDOWS Issue type : kbbug Solution Type : kbcode |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |