Search & Replace in Hyperlinks

Description : Search and replace in hyperlink URLs in the current page, section or notebook


Author(s) : Omer Atay
Category : Find
Last Updated : June 12, 2017
Requirements : OneNote 2010 or above
Screenshot :

Search & Replace in Hyperlinks

Find part of hyperlink
Replace with
Changelog :

June 12, 2017 (E516F3) - Omer Atay
Added option to do case insensitive search

February 06, 2017 (F693C9) - Omer Atay
Updated to search and replace hyperlinks in images as well as text

June 20, 2016 (5F05B6) - Omer Atay
Re-written with the new Macro Language to take advantage of cleaner syntax and performance improvements

These versions are no longer supported:

January 07, 2014 - Omer Atay
Initial version


Jay - 2019-11-19
Note to those with problems linking to folders/files: see posts below about changing the slash to a forward slash in the link.  This worked for me.
phil71 - 2019-08-10
Hi Omer. Does it work with hyperlinks to computer file/folder? I don't manage to change my new drive letter for my more than fifty hyperlinks!
Pavan - 2018-01-15
The macro is replacing Web URL's not the Local URL's to files or explorer link to SharePoint.