Try this code which toggles from one to the other
Code:
Sub ToggleURLs()
Dim aHL As Hyperlink
For Each aHL In ActiveDocument.Hyperlinks
If aHL.TextToDisplay = "url" Then
aHL.TextToDisplay = aHL.Address
Else
aHL.TextToDisplay = "url"
End If
Next aHL
End Sub