Auto Accept Meeting Invitations from MyPLAN
Prerequisites
Macro security needs to be set onNotify for all macros.
- Go to the File tab, and click Options.
- Select the Trust Center category and then click Trust Center Settings…
- Select the Macro Settings category and click ¤ Notifications for all macros.
Create the script to run.
- Open the Developer ribbon.
- On the Developer tab, click Visual Basic to open Outlook’s VBA editor.
- In the Project list, double-click Project1. (VbaProject.OTM) to expand the list
and then double-click ThisOutlookSession to open the code window. - Copy and paste the code into the module’s window. Available at : http://go.unl.edu/autoaccept.
- Save the module.
- From the File menu, select Close and Return to Microsoft Outlook.
Create the Rule to run the Script
- Select the meeting invitation in your Inbox from Starfish Calendar.
- On the Home tab, Move group, click Rules and select Create Rule…
- Click the Advanced Options… button to begin the Rules Wizard.
1) Step 1: Select ☑ from Starfish Calendar
and ☑ which is a meeting invitation or update.
Step 2: The from Starfish Calendar will appear.
Click Next >
2) Step 1: Select ☑ run a script.
Step 2: Click the run a script link, select the Project1.ThisOutlookSession.AutoAccept script and then click OK.
Click Next >
3) Click Next >
4) Step 1: Name the rule AutoAccept.
Step2: Select ☑ Turn on this rule.
Click Finish.
5) Click OK.
Caveats
· Windows only. Not available for Mac.
· When opening Outlook, you will be asked about macros. You MUST choose to Enable Macros to run for the script to work.
· Outlook must be open and running for the rule to be applied. It is a client-side only rule, meaning it runs with the Outlook client, not on the actual mail file on the server.
· If Outlook is closed when an invitation arrives, it will be delivered to your Inbox where you must manually accept the appointment to add it to your calendar.