OneNote Copy Action Calendar Reminder Macros | VBA Macro #58

Copy

This action will copy an existing File and save it to the current path or to a completely different path. The Copy action can also be configured to copy an entire Folder of Files to save to a specified location.

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 “Copy(File):” or “Copy(Folder):” to indicate if you are copying a File or Folder. The text following “:” will be considered the NEW path and name of the File or Folder you are copying. There is no need to enter the File Extension because it will be determined when referencing the Location Field. (Ex. Subject = Copy(File): C:….Leverage & Lean\Stay Awesome\NEW File Name or Subject = Copy(Folder): C:….Leverage & Lean\Stay Awesome\NEW Folder Name)
3. Location (REQUIRED) In the Location Field enter in the entire path of the File or Folder you plan to copy. If you are copying a File this path will need to include the File Extension. (Ex. Location = C:….Leverage & Lean\Stay Awesome\Excel Workbook.xlsx or Location = C:….Leverage & Lean\Stay Awesome\
4. Appointment Body (Not Applicable) Whatever is populated in the Appointment Body will have NO impact on the Copy action.(This Field is 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 Subject and Location. 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 = Copy(File): C:….Leverage & Lean\Stay Awesome\NEW File Name [Date,mm.dd.yyyy] or Subject = Copy(Folder): C:….Leverage & Lean\Stay Awesome\NEW Folder Name [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!
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!