Entering a Chart Title from a Macro in Windows ExcelLast reviewed: November 2, 1994Article ID: Q38361 |
The information in this article applies to:
SUMMARYThe following is a macro that allows you to enter a title for a chart created by a macro or enter the title in an interactive manner:
A1: =ACTIVATE("chart1")
A2: =INPUT("Enter title of chart",2)
A3: =ATTACH.TEXT(1)
A4: =SELECT("Title")
A5: =FORMULA("="&""""&DEREF(A2)&"""")
A6: =SELECT("")
A7: =RETURN()
Note: there are four double quotation marks (") in each set before and
after the DEREF(A2) statement.
|
KBCategory: kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |