Excel: Placing Quotation Marks within a Text String in a MacroLast reviewed: October 31, 1994Article ID: Q25138 |
SUMMARYTo create a text string (in a macro) that includes a word surrounded by quotation marks when it is in an alert or input box, use two double-quotation marks in a row within the text string. For example, the word "red" will appear in the input box with quotation marks around it if you enter the following:
=INPUT("Enter your favorite color (""red""):",2) |
KBCategory: kbother
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |