Search & Replace

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


Search & Replace

You need Onetastic Add-in
for OneNote to run this macro.
Download Onetastic
Author(s) : Omer Atay
Category : Find
Last Updated : January 23, 2018
Downloads : 32755
Screenshot :

Search & Replace

Find what
Replace with
Changelog :

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


lspnicol - 2017-11-30
Hello everyone,
After trying a dozen of times, I failed to upgrade my onetastic to the latest 3.7.1.

And in the process of rolling back to the previous version of 3.2.2, I lost my former macros and find this new version of Search & Replace incompatible with onetastic 3.2.2.

So, I'd be very grateful if someone could help me get Search & Replace compatible with older version onetastic.

Please, help.

arascanu - 2017-11-28
Hi Lapo & UPriz,
I've noticed as well that the color of the text changes if you run any macros that updates my page. (adds in any text). It happens not only for white text but for extremely light grey colored text as well. It just defaults to medium dark grey anytime I run any macro.

I believe this is more of a general issue, because it gets triggered by almost all macros out there that do updates to a page.
UPrinz - 2017-11-22
Hi Lapo,
I have the exact same issue with the Search & Replace:
It changes the color of my SectionTitles from White to Grey.
I would really like to have a fix for that.
I looked into the "Edit Macro" code of this Macro, but couldn't spot the issue
Thanks for any tips here!