Microsoft KB Archive/47832

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 19:24, 12 August 2020 by X010 (talk | contribs) (X010 moved page Microsoft KB Archive/Q47832 to Microsoft KB Archive/47832 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Can’t Search for a Negative Field Value in a Word 5.00 Macro

PSS ID Number: Q47832 Article last modified on 11-02-1994

5.00

MS-DOS

SUMMARY

With Microsoft Word for MS-DOS version 5.0, if a negative number is placed in any of the command fields that allow negative numbers (for example, the Format Paragraph “first Line:” field or the Format Division Margins “top:” field), Word cannot search for the number in a macro.

This problem seems to be an error in Word version 5.0’s search algorithm for negative values. To duplicate this problem, execute the following macro:

<esc>fp<down><right><<set level=field>> <<message field is>><<level>>

Run the macro with a positive number in the Format Paragraph “first line:” field. When you run it with a negative number, you’ll see that Word does not recognize the negative value.

Microsoft has confirmed this to be a problem in Word version 5.0. This problem was corrected in Word version 5.5.

KBCategory: kbother kbmacro KBSubcategory: Additional reference words: 5.00 5.50

============================================================================= Copyright Microsoft Corporation 1994.