How to update pasted links in Word from Excel ?

Rahul Kumar 0 Reputation points
2024-05-14T11:50:04.75+00:00

When we paste some content from excel to word as "Link and Keep Source Formatting", It creates a link object in Word which points to the excel document address.

We can Select -> Right Click -> Update Link using Word UI.

I am trying to replicate similar functionality in an Office Add In application, using Word JS API, for which I am unable to find any function or object.

Please recommend if there is a workaround or API function available to meet this requirement.

Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | Development | Other
Microsoft 365 and Office | Word | For business | Windows
0 comments No comments
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.