I'm new to VBA and managed to put together a simple macro that will convert all text with a certain style to a hyperlink (pasted below), and I would really like it to do the same thing with all footnote text as well, but none of the answers online I've tried have worked so far.
Any thoughts?
Sub FindLinkStyle()
Dim strStyle As String
strStyle = "Subtle Reference"
Selection.HomeKey Unit:=wdStory
With Selection.Find
.text = ""
.ClearFormatting
.Style = strStyle
Do While .Execute
ActiveDocument.Hyperlinks.Add Anchor:=Selection.Range, _
Address:="#link"
Selection.Style = ActiveDocument.Styles("Normal")
Loop
End With
End Sub