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


Anita - 2021-09-21
I tried running this macro but I keep getting the error: "Macro failed with this error: Cannot continue this operation as there is content on this page from a future version of OneNote". Is there anyway around this as I have heaps of hyperlinks I need to update in this notebook. Any help appreciated :-)
Louis - 2020-06-17
it's interesting but it doesn't work me on a one note 365 16.0, maybe because there are blank spaces? I have tried to edit links which goes to the same page.

Jerom - 2020-06-13
Can you also replace links to pages within OneNote?