Export (0) Print
Expand All

WebNavigationBarSets Property.WebNavigationBarSets Property

Office 2007
Returns a WebNavigationBarSets object representing a collection of all WebNavigationBarSet objects in the specified document. Read-only.

Syntax

expression.WebNavigationBarSets

expression   A variable that represents a WebNavigationBarSets Property object.

Return Value
WebNavigationBarSets

Example

The following example sets an object variable to the collection of Web navigation bar sets in the active document and adds a new navigation bar set to it.

Visual Basic for Applications
Dim objWebNavBarSets As WebNavigationBarSets

Set objWebNavBarSets = ActiveDocument.WebNavigationBarSets
objWebNavBarSets.AddSet _
    Name:="WebNavBarSet1", _
    Design:=pbnbDesignBracket, _
    AutoUpdate:=True



Community Additions

ADD
Show:
© 2014 Microsoft