kerrypnx
11/29/2018 - 9:42 AM

加行号

revise 11-29

Sub addLineNum()
    Dim i As Integer
    i = 1
    Do While (Selection.End < ActiveDocument.Content.End - 1)
        
        Selection.TypeText CStr(i) + ". "
        Selection.Move 4
        i = i + 1
    Loop
End Sub