Reset Method Example

This example removes manual formatting from the selection.

Selection.Font.Reset

This example removes manual paragraph formatting from the second paragraph in the active document.

ActiveDocument.Paragraphs(2).Reset

This example prepares the active document to be rerouted to the same recipients as in the previous routing settings.

If ActiveDocument.HasRoutingSlip = True Then
    ActiveDocument.RoutingSlip.Reset
End If

This example inserts a picture as an inline shape, changes the brightness, and then resets the picture to its original brightness.

Set aInLine = ActiveDocument.InlineShapes.AddPicture _
    (FileName:="C:\Windows\Bubbles.bmp", Range:=Selection.Range)
aInLine.PictureFormat.Brightness = 0.5
MsgBox "Changing brightness back"
aInLine.Reset

This example sets the fourth format listed on the Numbered tab in the Bullets and Numbering dialog box back to the built-in numbering format, and then it applies the list template to the selection.

ListGalleries(wdNumberGallery).Reset(4)
Selection.Range.ListFormat.ApplyListTemplate _
    ListTemplate:=ListGalleries(2).ListTemplates(4)

This example resets all the list templates in the Bullets and Numbering dialog box back to the built-in formats.

For Each lg In ListGalleries
    For i = 1 to 7
        lg.Reset Index:=i
    Next i
Next lg