Thursday, September 22, 2011

how to remove all hyper link in one click in ms word

You can remove it eaily with the help of Macros. Just follow some simple steps given below and see the magic.

* Open your MS word Document.
* Press "Alt+F11" - it will open the Visual Basic Editor
* Click Insert on Menu bar
* Click Module

In the new pop-up window copy following:

Sub RemoveHyperlinks()
Dim oField As Field
For Each oField In ActiveDocument.Fields
If oField.Type = wdFieldHyperlink Then
oField.Unlink
End If
Next
Set oField = Nothing
End Sub

Then click File and Close and return to Microsoft Word

After that Run Macro -
Tools > Macro > Macro and then Run “RemoveAllHyperlinks”

Thants all !