Charts.Add2 method (Excel)
Inserts a chart directly onto the grid.
expression.Add2 (Before, After, Count, NewLayout)
expression A variable that represents a Charts object.
|An object that specifies the sheet before which the new sheet is added.
|An object that specifies the sheet after which the new sheet is added.
|The number of sheets to be added. The default value is one.
|If NewLayout is True, the chart is inserted by using the new dynamic formatting rules (Title is on, and Legend is on only if there are multiple series).
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.