Type Property

Applies To

Section object.

Description

Returns a string that contains the OLE long class name for the Section object. Read-only String.

Remarks

OLE long class names are specified as appName.objectType.versionNumber (for example, "Word.Document.8"). For more information about available binder section types, see the Add method.

Example

This example moves all Microsoft Excel workbooks in the binder Binder1.obd to the last sections in the binder.

Set myBinder = GetObject("C:\Binder1.obd", "OfficeBinder.Binder")
lastOne = myBinder.Sections.Count
For Each thing In myBinder.Sections
    If thing.Type = "Excel.Sheet.8" Then
        thing.Move after:=lastOne
    End If
Next