Auto Accept Meeting Invitations from MyPLAN

Prerequisites

Macro security needs to be set onNotify for all macros.

  1. Go to the File tab, and click Options.
  2. Select the Trust Center category and then click Trust Center Settings…
  3. Select the Macro Settings category and click ¤ Notifications for all macros.

Create the script to run.

  1. Open the Developer ribbon.
  2. On the Developer tab, click Visual Basic to open Outlook’s VBA editor.
  3. In the Project list, double-click Project1. (VbaProject.OTM) to expand the list
    and then double-click ThisOutlookSession to open the code window.
  4. Copy and paste the code into the module’s window. Available at : http://go.unl.edu/autoaccept.

  1. Save the module.
  2. From the File menu, select Close and Return to Microsoft Outlook.

Create the Rule to run the Script

  1. Select the meeting invitation in your Inbox from Starfish Calendar.
  2. On the Home tab, Move group, click Rules and select Create Rule…
  3. 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.