Share via


Application.SaveWorkspace Method (Excel)

Saves the current workspace.

Syntax

expression .SaveWorkspace(Filename)

expression A variable that represents an Application object.

Parameters

Name

Required/Optional

Data Type

Description

Filename

Optional

Variant

The saved file name.

Example

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

Application.SaveWorkspace "saved workspace"

See Also

Concepts

Application Object

Application Object Members