Excel: Adding a Series to a Chart with a MacroID: Q24876
|
A series can be added to a Microsoft Excel chart through a macro by
using the FORMULA command function.
For example, to add a series containing the categories of "a" and "b",
the values of 12 and 16, and the plot order number of 1, the following
macro command can be used:
=FORMULA("=SERIES(,{""a"",""b""},{12,16},1)")
"Microsoft Excel Function Reference," version 4.0, pages 168-169
(FORMULA), page 387 (SERIES)
"Microsoft Excel Function Reference" version 3.0, pages 89-90
(FORMULA), pages 216-217 (SERIES)
"Microsoft Excel Functions and Macros" version 2.2, pages 224-225
(FORMULA), pages 576-577 (SERIES)
Additional query words:
Keywords :
Version :
Platform :
Issue type :
Last Reviewed: March 16, 1999