Save Method

Applies To

Binder object.

Description

Saves changes to the specified binder. Use this method only for binders that have been previously saved.

Syntax

expression.Save

expression Required. An expression that returns a Binder object.

Remarks

If you use the Save method to save a new binder, an error occurs. The first time you save a new binder, use the SaveAs method.

See Also

SaveAs Method

Example

This example sets the name of the second section in Binder1.obd to "Budget 95" and then saves the changes to the binder.

Set myBinder = GetObject("C:\Binder1.obd", "OfficeBinder.Binder")
If myBinder.Sections(2).Type = "Excel.Sheet.8" Then
    myBinder.Sections(2).Name = "Budget 95"
    MsgBox "Binder contents have changed."
End If
myBinder.Save