Description of Auto Quote Option in WinWord Macro Dialog Box

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$ 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$ 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

Additional query words: winword2 2.0 winword 7.0 word95 word7 word6 autoquote 6.0

Keywords :
Version : WINDOWS:2.0,2.0a,2.0a-CD,2.0b,2.0c,6.0,6.0a,6.0c,7.0
Platform : WINDOWS
Issue type :


Last Reviewed: December 23, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.