REPORT.DELETE

Macro Sheets Only

Equivalent to choosing the Print Report command from the View menu and then selecting a report in the Print Report dialog box and choosing the Delete button. Removes a report definition from the active workbook.

If this function is not available, you must install the Reports add-in macro.

Syntax

REPORT.DELETE(report_name)

Report_name specifies the name of the report to be removed. Report_name can be any text that does not contain quotation marks.

Remarks

REPORT.DELETE returns the #VALUE error value if report_name is invalid or if the workbook is protected.

Related Functions

REPORT.DEFINE Creates a report

REPORT.PRINT Prints a report

REPORT.GET Returns information about reports defined for the active workbook

List of Command-Equivalent Functions