Search code examples
blueprism

Global Send Keys Issue


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?

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


Solution

  • 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