Microsoft Word Remove All Links

mcandrewe

Member
Hi,
I have an object which should highlight all text in a Word document and then press CTRL SHIFT F9 to remove all links. All the text highlights but the links remain afterwards?
This works when I do it manually.

I am global mouse clicking the page and then global sending "^+{F9}"
 
Last edited:

mcandrewe

Member
Solved
Managed to get this to work by extending the Word VBO Object.
Code used
Dim d As Object = GetDocument(handle,document_name)

d.Select

With d.Fields
.Update
.Unlink
End With

d = Nothing
 
Top