#1
|
|||
|
|||
How can I replace UNC paths in hyperlinks with webpage paths?
I need to replace hyperlinks that currently link to a file share with links to a Sharepoint site.
So currently the hyperlinks look like: Code:
\\servername\file\file\file name \worddoc.docx Code:
https://mydomain.sharepoint.com/sites/file_path/Shared%20Documents/General/ Does anyone know how I can: Search within hyperlinks, and then use find and replace to replace a part of the link? |
#2
|
||||
|
||||
Hyperlinks are in two parts:
1. The text range in the document (the words you can see on the page) 2. The hyperlink address that the link tries to open in a browser If you are trying to modify the text range then just do a normal find/replace If you are trying to modify the addresses, toggle field codes first by pressing Alt-F9 then use the find/replace dialog
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#3
|
|||
|
|||
Quote:
Any idea? |
#4
|
|||
|
|||
Not sure that it helps, but Hyperlink fields contain additional information that is not shown with Alt+F9 (as do AutoTextList fields).
You may be able to get at it using vba. See also Paul Edstein's Word Fields and Relative Paths to External Files. |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Convert Folder paths to Hyperlinks | PhilS | Word | 3 | 01-04-2022 10:18 AM |
Network Paths not formatting as hyperlinks | kneghx | Outlook | 0 | 10-11-2018 11:10 AM |
Two motion paths | iskenderbaris | PowerPoint | 0 | 04-12-2012 03:13 AM |
motion paths | Cath5000 | PowerPoint | 0 | 07-29-2011 10:59 AM |
Motion Paths with Rotation | PBone | PowerPoint | 4 | 01-13-2011 11:59 AM |