Scenarios.CreateSummary(XlSummaryReportType, Object) 方法

定义

新建一个工作表,并在其中显示指定工作表中所有方案的摘要报表。

public object CreateSummary (Microsoft.Office.Interop.Excel.XlSummaryReportType ReportType = Microsoft.Office.Interop.Excel.XlSummaryReportType.xlStandardSummary, object ResultCells);
Public Function CreateSummary (Optional ReportType As XlSummaryReportType = Microsoft.Office.Interop.Excel.XlSummaryReportType.xlStandardSummary, Optional ResultCells As Object) As Object

参数

ResultCells
Object

可选 对象。 一个 Range 对象,表示指定工作表上的结果单元格。 一般而言,此区域指一个或多个包含公式的单元格,即显示特定方案计算结果的单元格;这些单元格中的公式的值由模型中的可变单元格值计算而得。 如果省略此参数,报表中将没有任何结果单元格。

返回

适用于