Sub Numbering_to_text_Current()
Numbering_to_Text Range_Current
End Sub
'---------------------------------------------------------------------------------------------
Sub Numbering_to_text_Current_Nums_Only()
Numbering_to_Text Range_Current, False, True
End Sub
'---------------------------------------------------------------------------------------------
Sub Numbering_to_text_Current_Bullets_Only()
Numbering_to_Text Range_Current, True, False
End Sub
'---------------------------------------------------------------------------------------------
'---------------------------------------------------------------------------------------------
Sub Numbering_to_Text(Rng As Word.Range, Optional bulletsConvert As Boolean = True, Optional numsConvert As Boolean = True)
Dim i As Long
'-
With Rng.ListParagraphs
For i = .Count To 1 Step -1
With .item(i).Range.ListFormat
If bulletsConvert And .ListType = wdListBullet Then .ConvertNumbersToText
If numsConvert And (.ListType = wdListSimpleNumbering _
Or .ListType = wdListMixedNumbering _
Or .ListType = wdListOutlineNumbering) Then .ConvertNumbersToText
End With
Next i
End With
End Sub
'---------------------------------------------------------------------------------------------
Function Range_Current() As Word.Range
If Selection.Start = Selection.End Then
Set Range_Current = ActiveDocument.Range
Else
Set Range_Current = Selection.Range
End If
End Function