[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Sets the source data range for the Microsoft.Office.Tools.Excel.ChartSheetBase.
Assembly: Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
For information on optional parameters, see Optional Parameters in Office Solutions.
The following code example uses the method to set the data source of the current Microsoft.Office.Tools.Excel.ChartSheetBase to a range on Sheet1 that contains cells A1 through B5.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.