WebNavigationBarSet.DeleteSetAndInstances method (Publisher)
Deletes a web navigation bar set and all instances of it in the current document.
Syntax
expression.DeleteSetAndInstances
expression A variable that represents a WebNavigationBarSet object.
Example
The following example iterates through the WebNavigationBarSets collection and deletes each set from the active document.
Dim objWebNavBarSet As WebNavigationBarSet
For Each objWebNavBarSet In ActiveDocument.WebNavigationBarSets
objWebNavBarSet.DeleteSetAndInstances
Next objWebNavBarSet
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.