WebNavigationBarSet.ShowSelected property (Publisher)
True if the selected button is highlighted for the specified WebNavigationBarSet object. Read/write Boolean.
Syntax
expression.ShowSelected
expression A variable that represents a WebNavigationBarSet object.
Return value
Boolean
Example
The following example adds a new web navigation bar to the active document, adds it to every page, and then sets the ShowSelected property to False so that the selected button is not highlighted in the navigation bar.
Dim objWebNav As WebNavigationBarSet
Set objWebNav = ActiveDocument.WebNavigationBarSets.AddSet(Name:="newNavBar")
With objWebNav
.AddToEveryPage Left:=10, Top:=10
.ButtonStyle = pbnbButtonStyleSmall
.ShowSelected = False
End With
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.