Tag Summary for Specific Tag

Creates a tag summary page for a specific tag. Up to three tags can be specified to find paragraphs that contain all those tags together or at least one of them


Author(s) : Onetastic ★, neil
Category : Tags
Last Updated : March 23, 2023
Requirements : OneNote 2010 or above
Watch this short video to learn more about this macro
Screenshot :

Tag Summary for Specific Tag

Find paragraphs that have all or at least one of the following tags (see option below). Leave Tag 2 and Tag 3 empty if you only want to search for a single tag. --------------------------------------------------------------------------------
Tag 1
Tag 2
Tag 3
Find paragraphs that have
Sort by
Changelog :

March 23, 2023 (D57A3A) - Onetastic ★
Fixed Checked/Unchecked only filters to work with custom checkable tags

November 26, 2022 (C48682) - Onetastic ★
Added Current Section Group option, added notebook and section group names in the output, added ribbon menu with 10 recently used options for quick access

March 29, 2021 (086B47) - Onetastic ★
Updated the style of the summary page to match that of the tag summary page built-in to OneNote

August 12, 2020 (746C9B) - Onetastic ★
Fixed a bug where the breadcrumb would be incorrect when running the macro on current notebook

August 09, 2020 (DFD525) - Onetastic ★
Added option to scope the search to Current Page

December 17, 2017 (2F8E88) - Onetastic ★
Updated to skip deleted pages and display Section names when sorting by Page

September 05, 2017 (D02848) - neil
This is a bug fix to the existing (and great!) macro. I found in certain cases the macro would not correctly list out 'unchecked' (or checked) tags, because of a logic error. If the To Do tag was the last tag in the paragraph it would be OK, but it would not work otherwise. Previously the 'completed' status was only checked on the last tag. I created a $completed variable which looks in the available tags for a "To Do" tag and its completed status. This is used to decide if the paragraph should be included or not.

May 24, 2017 (39440B) - Onetastic ★
Added an option to find paragraphs that have at least one of the specified tags (as opposed to having all of the specified tags at the same time)

December 25, 2016 (6ED659) - Onetastic ★
This macro can now search up to three tags to find paragraphs that have all of the given tags. Also the tag name is now free form text box so that custom tags or tags in other languages can be searched.

December 23, 2016 (FEFE91) - Onetastic ★
Updated to look for every tag on a paragraph in case it has multiple tags. Previously it only used the first tag on a paragraph.

October 27, 2016 (E53965) - Onetastic ★
Updated with two new options: Sort by containing page vs. tag creation date, and filter by all, checked or unchecked tags only. The results are grouped under page or tag creation date based on sort by value.

June 20, 2016 (4308FE) - Onetastic ★
Re-written with the new Macro Language to take advantage of cleaner syntax and performance improvements

These versions are no longer supported:

January 09, 2014 - Onetastic ★
Initial version


hertz123 - 2024-05-11
It's not working, as Rene Stareczek said, it is creating an empty page with the name of the tags only.

Version: (2404 Build 16.0.17531.20140) 64 bits
Zulay Lynch - 2024-04-03
Could you please add custom tags to the "Tag Summary for Specific Tag"? It would be an extremely useful feature.
Rene Stareczek - 2023-10-06
Although there are some todos in my current section I only get an empty page with the names of the selected tags but not the tags themselves.
I tried it several times with different kinds of tags (Project A, Project B) but always get the same result: no tags collected, only the names of the selected tags at the top of an empty page.
With other macros it does work to get a list of the found tags but I would prefer this one.
Any hint what might be wrong?