Search & Replace

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


Author(s) : Omer Atay
Category : Find
Last Updated : March 23, 2019
Requirements : OneNote 2010 or above
Screenshot :

Search & Replace

Find what
Replace with
Changelog :

March 23, 2019 (2C3441) - Omer Atay
Added option for Match Whole Word Only

January 23, 2018 (4B1DA4) - Omer Atay
Now remembers the previous values of Search, Replace, Scope and Match case

June 20, 2017 (5DF85B) - Omer Atay
Added option to search in selected pages in the current section. Useful if you want to search and replace only in certain pages in the current section.

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

These versions are no longer supported:

November 06, 2013 - Omer Atay
Added option to search under Current section, Current notebook and All notebooks

March 02, 2013 - Omer Atay
Initial version


Not working 2019 April 22 - 2019-04-22
Omer Atay - 2019-01-06
Cengiz: You probably want this macro:
Cengiz - 2019-01-06
Merhaba Ömer

Using the "search & replace" macro, is it possible to find and replace special characters such as Paragraph Mark or Paragraph Character? If so would I have to use the ASCII code for the character?

The reason I need this is that sometimes when I copy paste text from web pages or PDF's no matter how I paste (Keep source formatting, merge formatting or text only) the content into OneNote the special characters seem to persist and the only way I can remove them is by going to each one and deleting it manually. If I don't then the text does not wrap/flow properly in the container.

MS Word seems to have solved it by adding a button called "Special" under the find tab for its "Find & Replace"