Microsoft KB Archive/44101

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

Word: Left and Right Chevrons in a Word Macro

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

4.00 5.00 5.50 6.00

MS-DOS

The information in this article applies to:
- Microsoft Word for MS-DOS versions 4.0, 5.0, 5.5, 6.0

SUMMARY

Recorded Microsoft Word macros make a distinction between the left chevron created with the CTRL+[ key combination and the left chevron ASCII character created with the ALT+174 key combination. A distinction is also made between CTRL+] (right chevron) and ALT+175 (right chevron). This distinction does not occur if the macro is created manually rather than recorded.

This distinction can be seen if you record a macro that searches for some character and replaces it with ALT+174. When the macro is executed, Word aborts the macro with a syntax error near the ALT+174 chevron. If the same macro is run with CTRL+[ instead of ALT+174, no syntax error occurs.

In Word, if the Number Lock is off, Edit Search and Edit Replace functions may not be performed on a character produced with a ALT+number sequence. Instead, to search for an ASCII character not found on the keyboard, use a caret (“^”) symbol, followed by the numerical ASCII value of the character.

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