Compartilhar via


LineNumbering.Active Property (Word)

True if line numbering is active for the specified document, section, or sections. Read/write Long.

Syntax

expression .Active

expression An expression that returns a LineNumbering object.

Example

This example activates line numbering for the first section in the selection.

Sub CountByFive() 
 With Selection.Sections(1).PageSetup.LineNumbering 
 .Active = True 
 .CountBy = 5 
 .StartingNumber = 1 
 End With 
End Sub

See Also

Concepts

LineNumbering Object

LineNumbering Object Members