Sub DeleteHyperlinks()
Dim doc As Document
Dim hyp As Hyperlink
Dim i As Integer
Dim max As Integer
max = ActiveDocument.Hyperlinks.Count
On Error Resume Next
For i = 1 To max
ActiveDocument.Hyperlinks(i).Delete
Next
End Sub
Tuesday, December 24, 2024
VBA Word - Delete all hyperlinks from document
The following VBA code deletes all hyperlinks from document:
Subscribe to:
Post Comments (Atom)
Hot Topics
-
Objectives To provide detailed information about ListBox Types of ListBox Using ListBox in VBA applications Please read the post till end...
-
Main points about class Class is a template to create objects. Class is user defined data type. Class represents a business entity. Class is...
-
JavaScript was created in 1995 by a programmer named Brendan Eich for Netscape Communications Company. Brendan Eich worked in the same comp...
No comments:
Post a Comment