Close Method

Applies To

Binder object.

Description

Closes the specified binder.

Syntax

expression.Close(SaveChanges, FileName)

expression Required. An expression that returns a Binder object.

SaveChanges Optional Variant. True to save changes to the binder. False to save the binder without saving changes. If this argument is omitted and there are changes to the binder, a dialog box is displayed asking the user whether to save changes. If there are no changes, this argument is ignored.

FileName Optional Variant. The name you want to give the binder when you save it, if it hasn't been previously saved. If this argument is omitted and the binder hasn't been saved at least once, the Save As dialog is displayed. If the binder has already been saved, this argument is ignored.

Example

This example closes the binder represented by newBinder and saves it as NewBinder2.obd.

newBinder.Close _
    SaveChanges:=True,FileName:="NewBinder2.obd"