Is there any way to change URLs in over 1000 Microsoft Word documents efficiently? The documents are stored in a SharePoint 2013 library. Most URLS start with http://... but some others have a label / display name with a URL behind it e.g. click 'here', where 'here' points to a URL.



As a workaround, we can map the document library as Network Drives, then access the documents in network drives and using Microsoft.Office.Interop.Word.dll to modify the Urls in word files.

The following articles for your reference.

Map SharePoint Online/On-Premises Document Libraries As Network Drives

How To Access Network Drive Using C#

How to open and edit a Word DOC or DOCX file from FileSystem or Byte array in C#

  • Thank you very much for the links. You have been very helpful. – Ciaran Nov 27 '18 at 13:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.