WD6x: Macro Recorder Records Number Format "None" Incorrectly

ID: Q113871

The information in this article applies to:

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          : kberrmsg kbmacro winword macword 
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

Last Reviewed: February 3, 1998