NoLineNumber Property
Applies To
Paragraph object, ParagraphFormat object, Paragraphs collection object.
Description
True if line numbers are repressed for the specified paragraphs. Can be True, False, or wdUndefined. Read/write Long.
Remarks
Use the LineNumbering property to set line numbers.
See Also
LineNumbering property.
Example
This example enables line numbering for the active document. The starting number is set to 1, and the numbering is continuous throughout all sections in the document. Line numbering is then repressed for the second paragraph.
With ActiveDocument.PageSetup.LineNumbering
.Active = True
.StartingNumber = 1
.CountBy = 1
.RestartMode = wdRestartContinuous
End With
ActiveDocument.Paragraphs(2).NoLineNumber = True