Microsoft Office applications shine out of the box, but macros unlock next-level efficiency. As a seasoned OneNote user with years of experience optimizing workflows, I've relied on macros to streamline note-taking. These powerful scripts, executable with one click, transform OneNote into a productivity powerhouse.
While macros are popular in Excel, they elevate OneNote too. Pair this with our comprehensive OneNote guide to master the app.
To harness OneNote macros, use Onetastic, a robust plugin. Download the version matching your OneNote installation—32-bit or 64-bit—regardless of your Windows version.
Open OneNote, go to File > Account, and click About OneNote. Look for the purple text indicating 32-bit or 64-bit. Visit the Onetastic download page, unzip, and install the executable.

Post-installation, Onetastic appears on the Home ribbon. In Settings, select Show in a separate tab to create a dedicated Macros tab. Create your own via New Macro, or browse Download macros or the Macroland site.
Onetastic starts free, including OneCalendar, custom styles, and desktop pinning. Macros offer a usage-based trial. As limits near, upgrade to Pro for $15.
Pro unlocks all macros at purchase plus those released in the next 365 days—yours forever. Newer macros require renewal. See the pricing page for details.
Boost productivity without coding. Download and open these to add to your Macros tab.
This gem sorts pages in your current section alphabetically (ascending/descending), preserving subpages.

Download - Sort Pages Macro
Perfect for wikis or guides: Generates a table of contents page. Fast mode is quick; Elastic handles renames. Try TOC in Current Notebook for broader use.

Download - TOC in Current Section Macro
Select year, month, and week start for an instant page calendar.
Download - Insert Monthly Calendar Macro
OneNote lacks easy lines—unlike other Office apps. This adds one instantly, skipping tedious typing.
Download - Insert Horizontal Line Macro
OneNote misses this staple feature. Microsoft's workaround is tedious; this macro fixes it. Enter text, scope, case sensitivity—done.

Download - Find and Replace Macro
Ideal for archiving or updates: Sort sections/notebooks by creation or modified date.
Download - Sort Pages by Date Macro
Track changes in collaborative notebooks—spot recent activity effortlessly.
Download - Recent Edits Macro
Count words on any page instantly—no copying to Word needed.
Download - Word Count Macro
Accidental CAPS? Select text and convert to lowercase in seconds.
Download - Lowercase Macro
Lost in notebooks? Get your full hierarchy path instantly.

Download - Where Am I Macro
OneNote excels at note-taking; macros make it unstoppable. Explore Macroland's hundreds more, customize, or build your own. Automate away tedium!
Guard against macro risks, like those in Word malware. Share your favorite OneNote macros in the comments!