REPORT.DELETE macro

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

If this function is not available, you must install the Report Manager add-in.

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

Return to index