ParagraphFormat.HangingPunctuation Property

Word Developer Reference

True if hanging punctuation is enabled for the specified paragraphs. This property returns wdUndefined if it’s set to True for only some of the specified paragraphs. Read/write Long.

Syntax

expression.HangingPunctuation

expression   A variable that represents a ParagraphFormat object.

Example

This example enables hanging punctuation for the first paragraph in the active document.

Visual Basic for Applications
  ActiveDocument.Paragraphs(1).HangingPunctuation = True

See Also