Application.SaveWorkspace Method

Excel Developer Reference

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".

Visual Basic for Applications
  Application.SaveWorkspace "saved workspace"

See Also