Search the paragraphs containing all the multiple keywords within a scope, and create a new page reporting the search results in the current section. Use semicolons (;) to separate the keywords, e.g. keyword1;keyword2;keyword3. There is (theoretically) no limit to the maximum number of keywords. But the speed is optimized for searching three keywords, and it slows down when more than three keywords are used. There are five opinions of scopes available, namely, “Current Page”, “Selection”, “Current Selection”, “Current Notebook”, and “All Notebooks”. It can take a long time, if search in notebook(s). Skip function is available, that is mainly for excluding pages that contain the previous search reports, to avoid duplicating the search results. Skip can take place in all scopes except the “Current Page” opinion. Change the texts as if you desired. It will skip the pages if their names contain the defined string. The report page lists the matched paragraphs and where they are found in.
Modified version of Task Count by Dawid. This macro counts all checkboxes and adds how many are completed to the title of the page. It also counts how many exclamation, question, star, and pin tags there are. This version counts all checkbox style tags (including CheckBox priority 1 - n, meeting checkboxes, starred checkboxes etc). Furthermore, it counts all checkbox tags applied to the same paragraph rather than just 1, so if two checkbox tags are applied to the same paragraph, it will count both of them.
Change color of all instances of text within the given scope that match the given inputs. Required Inputs: hex code of desired color, Scope, Case sensitivity Optional Inputs: Text to Color, Target Font Name, Target Font Size, Various filters NOTE: Either Text to Color or Target Font Size must be provided, both may also be provided for additional specificity.
Indents first line of each paragraph in Current Page or Current Section, ignoring the following cases: Paragraph in the table, bulleted paragraph, numbered paragraph, blank paragraph, paragraph other than default style is set, "center" or "right" alignment is set.
Make Blank Annual Journal
Select any year between 2013 and 2028 and this macro wil create a Journal for you. Each month is a section, and each month has a page per day, There is also a calendar tab that you can use the "Insert Calendar" macro to fill (I may later extend the macro to do that automatically, and also remove the New Section that is created when you open a new notebook). Future years extensions are a matter of adding a handful of new statements in the macro, but everything in OneNote may have changed by then, so I'll defer that one for now.
Recent Pages (many options)
Displays a summary page of recent pages in current section/section group/notebook or all notebooks. Dialog box for how many days back to look, create/modified date, max #pages, days wanted, ascending/descending, other stuff. FUTURE DIRECTIONS: preserve page.subpage/subsubpage groups, etc.
Convert Copied Paths to File Hyperlinks Macro
Converts selected pasted "Copied Paths" into file hyperlinks. This provides similar functionality now removed from OneNote that allowed files copied from windows explorer to be pasted as hyperlinks. To use; 1-Ctrl Select multiple files within windows explorer, 2-Shift + right click one of the selected files, 3-Choose "Copy as Path" from context menu, 4-Go to OneNote and paste into a page, 5-Select all pasted paragraphs, 6-Select "Convert Copied Paths to File Hyperlinks" from Onetastic's hyperlink menu. See a demo of the macro in action at https://youtu.be/22nMT8wy8Cc. If you find this macro useful please donate to http://www.paypal.me/SimonRear to encourage the development of more useful timesavers.
Fit printout A4 to A3 page - for entire section
Fit printout A4 pages to right side of A3 landscape pages (if the page not set to landscape, it will set it) . It will consider RTL page setting. If you import an A4 pages from a printout (Ex. from a PDF) into OneNote, this macro will fit it to the page and also set the image to background, making it ready to annonate and easily print out to paper if necessary. This macro will apply the change across all pages in the current section, for when the imported printout's pages are spread across multiple subpages in OneNote.
Prepends Create Date *yyyymmdd* to Title
Build with code from "Prepend Creation to Title" by Jim and "Capitalize Page Titles" by Omer Atay. Function: Prepend the creation time in yyyymmdd format to titles of pages under selected scope. If the title already has date in other format, such as yy/mm/dd, the old date will be updated to the yyyymmdd format. Note, if the title star with number,"/", or "-", it will be replaced as well.
Date Modifier for Imported Email from Outlook
This macro is essentially a modified version of the "Outlook Email Date Stamp" by Omer Atay and JasonDaSilva. The modification is that the user prompt is in french and the macro works for e-mails in french and german. It should also work for italian but it wasn't tested.
As of early 2020, imported e-mails seem to have some information in english (namely the fields such as "sent", "from", and so on) even though the system and program were installed in a different language. Therefore the macro got adapted to handle e-mails with english fields, even though it should have been in another of the available languages.
Description of the original macro: "This macro will change the creation date of each page in the current section with the time the email was sent, allowing them to be sorted by the email date. This has been made specifically for emails sent to OneNote from Outlook."
Prepends Create Date *yyyy.mm.dd* to Title
Function: Prepend the creation time in yyyy.mm.dd format to titles of pages under selected scope. If the title already has date in other format, such as yy/mm/dd, the old date will be updated to the yyyymmdd format. Note, if the title star with number,"/", or "-", it will be replaced as well.