SaveWorkspace Method

Applies To

Application object.

Description

Saves the current workspace.

Syntax

expression.SaveWorkspace(Filename)

expression Required. An expression that returns an Application object.

Filename Optional Variant. The saved file name.

Example

This example saves the current workspace as "saved workspace.xlw."

Application.SaveWorkspace "saved workspace"