Workspace.Close method (DAO)

Applies to: Access 2013, Office 2013

Closes an open Workspace.

Syntax

expression .Close

expression A variable that represents a Workspace object.

Remarks

If the Workspace object is already closed when you use Close, a run-time error occurs.

An alternative to the Close method is to set the value of an object variable to Nothing (Set dbsTemp = Nothing).