TextRange.ParagraphFormat property (Publisher)
Returns a ParagraphFormat object representing the paragraph formatting for the specified text range or text style.
expression A variable that represents a TextRange object.
The following example removes all the tab stops from the text in the first shape on page one of the active publication.
Dim pfTemp As ParagraphFormat Set pfTemp = ActiveDocument.Pages(1).Shapes(1) _ .TextFrame.TextRange.ParagraphFormat pfTemp.Tabs.ClearAll
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.