OneNote Open Action Calendar Reminder Macros | VBA Macro #45

Open

This action will open any path or URL that you indicate in the location section. In the appointment Subject field enter “Open:” any text after “:” will not be utilized in this action.

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 “Open:” any text after “:” will have NO impact on the Open action but can serve as a place to enter text confirming what you intend on opening with this macro.
3. Location (REQUIRED) Whatever is populated in the Location field will be considered the URL or full path to the Folder or File you are seeking to Open. To Open multiple URLs, Files, or Folders separate them using ; in this field.
4. Appointment Body (Not Applicable) Whatever is populated in the Appointment Body will have NO impact on the Open action. (Not Applicable)
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 Location 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. Location = C:\….\Leverage & Lean\Excel Workbook [Date,mm.dd.yyyy].xlsx)

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

***Tip: It makes sense to use this parameter if you are setting up a reoccurring Appointment where the Date of the File or Folder is changing.

Free Code

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

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!

Powered By MemberPress WooCommerce Plus Integration

Free Macro

Start creating Less Clicks, More Results today!