OneNote Create Action Calendar Reminder Macros | VBA Macro #51

Share on facebook
Share on twitter
Share on linkedin

Create

This action will create a new OneNote Page and save it to the path identified in the Location field of the appointment.

See it in Action

Watch this video to see this macro in action.

***Video coming soon!***

Create Action Parameters

***Find where to populate these fields in this image below:
Field Description
1. Category (REQUIRED) A Category titled “OneNote” is required for this macro to function properly. The color for this category has no impact on the behavior of this macro but will determine how the appointment display’s on your Outlook Calendar.
2. Subject (REQUIRED) In the Appointment Subject Field enter “Create:” any text after “:” will be considered the name of the Word Document created. (Ex. Subject = Create: OneNote Page Name)
3. Location (REQUIRED) In the Location Field enter in the path to where the created OneNote Page will be saved. (Ex. Location = C:\….\Leverage & Lean\Documents)
4. Appointment Body (Optional) Whatever is populated in the Appointment Body will be populated in the newly created OneNote Page. (This Field is Optional)
5. Reminder (REQUIRED) The Reminder Field controls when the action will fire based on the Appointment Start Date & Time.
6. Recurrence (Recommended) If the action you are creating needs to fire again at a future date & time then you can setup the Appointment to be reoccurring. (This Field is Recommended)
[Date] (Additional Parameter) In the Subject, Location, and Appointment Body Field. You can use [Date] followed by , and Date Formatting such as mm/dd/yyyy or “mmm” for Mar and “mmmm” for March to get name of current month. A full list of Date Formatting options can be found here! By Default Date Format will equal mm.dd.yyyy (Ex. Subject = Create: Word Document [Date,mm.dd.yyyy])

If using this parameter in the Subject or Location Field you must enter . instead of / because this is being used to save a file.

Free Code

Follow this link to access all the code for the Leverage & Lean Calendar Reminder Macros!

First time using VBA?

The Developer Tab is an additional section of the ribbon when activated allows you access to Visual Basic in Applications like Access, Excel, Outlook, PowerPoint, Word.
Setup Now
Once the Developer Tab is available you will have the capability to update your security to allow Macros to run in the current application.
Setup Now
A sub of code is a collection of objects and variables. For the code to successfully run a library of references needs to be set.
Setup Now
Subscribe as an Insider to receive additional rights.
If you like our content and want to show your support tip us here!

Contact Us

Looking to improve your computer processes?
Leverage & Lean is here to help!

Leverage & Lean

Is focused on improving computer processes by Leveraging programming and applying Lean principles. It is our goal to make you more efficient and effective on your computer producing “Less Clicks and More Results!”