Binder Object

Description

Represents a Microsoft Office binder. A binder is created or opened in Visual Basic as an Automation object (formerly OLE Automation object).

Using the Binder Object

Use the CreateObject function to create a new binder. The following example creates a new binder, makes it visible, and then saves it as Mybind.obd.

Set myBinder = CreateObject("OfficeBinder.Binder")
myBinder.Visible = True
myBinder.SaveAs Filename := "Mybind.obd"
Use the GetObject function to open an existing binder. The following example opens the previously created binder and makes it visible.

Set myBinder = GetObject("Mybind.obd", "OfficeBinder.Binder")
myBinder.Visible = True 
Remarks

When a binder is created or opened, it's hidden by default. Set the Visible property for the specified binder to True to display the binder.

Properties

ActiveSection property, BuiltinDocumentProperties property, CustomDocumentProperties property, DefaultFilePath property, DisplayAlerts property, DisplayLeftPaneAndButton property, DisplayStatusBar property, LeftPane property, Name property, PageSetup property, Path property, Sections property, SelectedSectionNames property, SinglePrintJob property, Visible property.

Methods

Close method, ExitOpenMode method, Open method, PrintOut method, Save method, SaveAs method, ViewOpenMode method.