Invoke Code to create a hyperlink in Word

Can someone please help me with writing a code that creates a hyperlink out of a certain text in word app scope.

I open my doc using word app scope, use activity replace text wich replaces a text with file path and then I have to use a code in Invoke Code that makes it as a hyperlink. the filepath is passed as argument since it is dynamical.

Hi @markosc
I think there is no need for Invoke Code. Add Hyperlink to Document activity lets you replace a text with a Hyperlink. See example:

Hope it helps!

Correct! Forgot about that activity :slight_smile: Thank you for your help!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.