Home » Questions » Computers [ Ask a new question ]

How do I add custom scripts to Outlook?

How do I add custom scripts to Outlook?

"I need to add a custom script to process Outlook meeting requests. (see this question)
The dropdown menu for selecting scripts is empty and there doesn't appear to be a way to add scripts. How can I add a script that will be available via Outlook's rules?"

Asked by: Guest | Views: 260
Total answers/comments: 1
bert [Entry]

"In Outlook go to Tools > Macro > visual Basic Editor

R-click on Project 1 and select Insert > Module

In Module1 add the following code:

Sub CustomMeetingRequestRule(Item As Outlook.MeetingItem)
If Item.ReminderSet = False Then
Item.GetAssociatedAppointment(False).ReminderMinutesBeforeStart = 15
End If
End Sub

Click on Save

Make your rule and the script should appear as a selection when you click on the 'a script' link.

The code should perform what you were after in your other question but haven't tested it.

Reference link: http://support.microsoft.com/kb/306108"