VIEW.DELETE

Macro Sheets Only

Equivalent to selecting a view and choosing the Delete button from the View Manager dialog box, which appears when you choose the View Manager command from the View menu. Removes a view from the active workbook.

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

Syntax

VIEW.DELETE(view_name)

View_name is text enclosed in quotation marks and specifies the name of the view in the current workbook that you want to delete.

Remarks

VIEW.DELETE returns the #VALUE error value if view_name is invalid or if the workbook is protected.

Related Functions

VIEW.DEFINE Creates or replaces a view

VIEW.SHOW Shows a view

List of Command-Equivalent Functions