Microsoft KB Archive/50460

Word: Macro Incorrectly Compares Strings

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

5.00

MS-DOS

= SUMMARY =

When comparing two text strings in a macro, Word Version 5.00 does not make any comparison beyond the first encountered space. For example, “line a” might be considered either greater than or less than “line b”, depending on which string was listed first in the condition. This effectively makes comparing text strings containing spaces impossible.

KBCategory: kbother kbmacro KBSubcategory: Additional reference words: ============================================================================= Copyright Microsoft Corporation 1994.