Microsoft KB Archive/68316

Using Tilde (~) and Quotation Mark (&quot;) Characters in a Macro PSS ID Number: Q68316 Article last modified on 07-14-1994

1.00 1.10 1.10a 2.00

WINDOWS

Summary:

When writing a macro in Word for Windows, in order to represent the tilde (~) and quotation mark (&quot;) characters, you must use the character string equivalents:

~ is Chr$(126) " is Chr$ (34)

The ~ is interpreted as an Enter in a character string. The &quot; is interpreted as the beginning or end of a string, and will cause an error.

Reference(s):

Microsoft Word for Windows and OS/2 Technical Reference, page 61.

Additional reference words: w4wmacro winword

=
================================================================

Copyright Microsoft Corporation 1994.