WD6x: Macro Recorder Records Number Format "None" Incorrectly

Last reviewed: February 2, 1998
Article ID: Q113871
The information in this article applies to:
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c
  • Word for the Macintosh, versions 6.0, 6.0.1

SYMPTOMS

When you record a macro that changes the number format for Heading Numbering or Bullets And Numbering to None, and then run that macro, Word generates error 158:

   The value of one of the fields is too low

This error occurs when the macro contains the WordBasic command FormatNumber or FormatHeadingNumber.

CAUSE

This error occurs because the .Type argument for the FormatHeadingNumber or FormatNumber command is recorded as "-1" and -1 is not a documented option in Word version 6.0 (only 0-7 are documented options.)

STATUS

Microsoft has confirmed this to be a problem in the versions of Word listed at the beginning of this article. This problem was corrected in Word version 6.0 for Windows NT and Word version 7.0 for Windows 95.

REFERENCE

"Microsoft Word User's Guide," version 6.0, pages 748-750, 755


Additional query words: winword word6 macword
Keywords : macword winword kberrmsg kbmacro
Version : WINDOWS:6.0,6.0a,6.0c; MACINTOSH:6.0,6.0.1,6.0.1a
Platform : MACINTOSH WINDOWS
Issue type : kbbug
Solution Type : kbfix


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: February 2, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.