I have some old code that doesn’t seem to work any more. Anyone have a better approach? I’m wondering if there’s I could use a range for that and how?
Rem ******FINDING Space TO RIGHT OF NOTE NUM & DELETING******
Rem Home
Selection.GoTo What:=wdGoToFootnote, Which:=wdGoToFirst, Count:=1, Name:= _
“”
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
Find “^f “, 0
BText “Removing the space after the note numbers”
While Selection.Find.Found = True
Rem GoRight 1
Selection.MoveRight Unit:=wdCharacter, Count:=1, Extend:=wdMove
SelectLeft 1
If Selection.Range = ” ” Then Selection.Delete
FindNext “^f “, 0
Wend
ActiveDocument.UndoClear