Description of Auto Quote Option in WinWord Macro Dialog Box

Last reviewed: July 30, 1997
Article ID: Q88593
The information in this article applies to:
  • Microsoft Word for Windows, versions 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows 95, version 7.0
  • Microsoft Word for Windows Dialog Editor, version 2.4

SUMMARY

In the Microsoft Word for Windows Macro Dialog Editor, the Auto Quote feature encloses button label text, which you type in the Text$ box of the Option Button Information dialog box, in quotation marks. This causes your entry to be a text string, rather than a literal variable name.

MORE INFORMATION

For example, if you type

   A$

in the Text$ box of the Option Button Information dialog box, the text is enclosed in quotation marks and appears on the button as "A$" (without the quotation marks) if the Auto Quote check box is selected. If the Auto Quote check box is not selected, "A$" is treated as a variable name, and the value A$ appears on the button face.

The following examples show the difference between the macro text of a dialog box created with the Auto Quote check box selected and the macro text of a dialog box with the Auto Quote check box cleared, when "Bill$" (without the quotation marks) is typed in the Text$ box:

  • Auto Quote check box SELECTED. (Use this option when you want to use fixed text as button text):

          PushButton 10, 6, 88, 21, "Bill$"
    

    Note: The text string "Bill$" (without the quotation marks) appears as the button text.

  • Auto Quote check box CLEARED. (Use this option when you want to use the value of a variable as button text):

          PushButton 10, 6, 88, 21, Bill$
    

    Note: If the value of Bill$ is "Tree," "Tree" (without the quotation marks) appears as the button text.

The Macro Dialog Editor is used to create custom dialog boxes for use with Word for Windows WordBasic macros. For more information on the Auto Quote option, query on the following words in the Microsoft Knowledge Base:

   auto and quote and macrode.exe and

REFERENCES

"Microsoft Word for Windows User's Guide," version 2.0, pages 787-792

Kbcategory: kbusage kbmacro KBSubcategory:


Additional query words: winword2 2.0 2.0a 2.0a-CD 2.0b 2.0c
winword 7.0 word95 word7 word6 autoquote 6.0
Version : 2.x 6.0 6.0a 6.0c 7.0
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.