WD97: ListIndent and ListOutdent Fail to Return Error

Last reviewed: July 31, 1997
Article ID: Q165255
The information in this article applies to:
  • Microsoft Word 97 for Windows

SYMPTOMS

If 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.

CAUSE

The 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.

STATUS

Microsoft 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 INFORMATION

The 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


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 31, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.