Code: Select all
Sub EndnoteTab()
'
' EndnoteTab Macro
' Adds a tab after the space that follows the endnote reference no. in the Endnotes section of the document.
'
Selection.Find.ClearFormatting
Selection.Find.Style = ActiveDocument.Styles("Endnote Reference")
With Selection.Find
.Text = ""
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = True
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute
Selection.MoveRight Unit:=wdCharacter, Count:=2
Selection.TypeText Text:=vbTab
End Sub
Thanks for any help to get me back up to speed!