Professional Documents
Culture Documents
1. First of all, press “Alt+ F11” to trigger the VBA editor in Word.
5. Now double click on the module to open its coding area on the right and paste the following macro there:
Sub RemoveAllHyperlinksFromPicturesInOneDocument()
Dim objInlinePicture As InlineShape
Dim objPicture As Shape
6. Last but not the least, click “Run” on menu bar to execute codes.
Method 3: Batch Remove Hyperlinks from Pictures in Multiple English
Documents
1. Before all, arrange all target documents in one folder.
2. Then repeat steps in method 2 to install and run the following macro:
Sub RemoveAllHyperlinksFromPicturesInMultipleDocuments()
Dim objInlinePicture As InlineShape
Dim objPicture As Shape
Dim StrFolder As String
Dim strFile As String
Dim objDoc As Document
Dim dlgFile As FileDialog
With dlgFile
If .Show = -1 Then
StrFolder = .SelectedItems(1) & "\"
Else
MsgBox ("No Folder is selected!")
Exit Sub
End If
End With
objDoc.ActiveWindow.ActivePane.View.SeekView = wdSeekMainDocument
objDoc.Save
strFile = Dir()
Wend
End Sub
3. In the “Browse” window open, pick the folder you set in step 1 and click “OK” to move on.