Sub ConvertURLTextsToHyperlinksInDoc()
Dim objDoc As Document
Set objDoc = ActiveDocument
Word.Options.AutoFormatReplaceHyperlinks = True
objDoc.Range.AutoFormat
End Sub
ActiveDocument.Hyperlinks.Add Anchor:=oRng, Address:=oRng.Text, TextToDisplay:=oRng.Text
As you've discovered, AutoFormat doesn't run one option at a time. Instead it takes all your current AutoFormat options and throws them at the target document. You can still use AutoFormat, if you take the time to set all the options in File>Options>Proofing>Auto
But you'll get a more focused effect if you run a macro that just does this job:
Open in new window