![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I'm going out of my mind here. I have a really simple rule that checks for
meeting requests as they arrive. If they have no reminder set, it's supposed to set it. Seems simple enough. I even put a msgbox in for the subject to ensure it actuallly fires. What am I missing, the reminder does not get set. Sub SetReminder(Item As MeetingItem) If ReminderSet = False Then msgbox item.subject Item.ReminderMinutesBeforeStart = 15 Item.ReminderSet = True Item.Save End If Set Item = Nothing End Sub |
Ads |
#2
|
|||
|
|||
![]()
If Item.ReminderSet = False Then
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Bob Smith" wrote in message ... I'm going out of my mind here. I have a really simple rule that checks for meeting requests as they arrive. If they have no reminder set, it's supposed to set it. Seems simple enough. I even put a msgbox in for the subject to ensure it actuallly fires. What am I missing, the reminder does not get set. Sub SetReminder(Item As MeetingItem) If ReminderSet = False Then msgbox item.subject Item.ReminderMinutesBeforeStart = 15 Item.ReminderSet = True Item.Save End If Set Item = Nothing End Sub |
#3
|
|||
|
|||
![]()
Sorry slight modification to that code, I should have copied and pasted.
Still have the issue. Sub SetReminder(Item As MeetingItem) If item.ReminderSet = False Then msgbox item.subject Item.ReminderMinutesBeforeStart = 15 Item.ReminderSet = True Item.Save End If End Sub "Bob Smith" wrote: I'm going out of my mind here. I have a really simple rule that checks for meeting requests as they arrive. If they have no reminder set, it's supposed to set it. Seems simple enough. I even put a msgbox in for the subject to ensure it actuallly fires. What am I missing, the reminder does not get set. Sub SetReminder(Item As MeetingItem) If ReminderSet = False Then msgbox item.subject Item.ReminderMinutesBeforeStart = 15 Item.ReminderSet = True Item.Save End If Set Item = Nothing End Sub |
#4
|
|||
|
|||
![]()
Have you tried setting the reminder on the appointment?
Dim appt As Outlook.AppointmentItem If Item.ReminderSet = False Then MsgBox Item.Subject Set appt = Item.GetAssociatedAppointment With appt .ReminderMinutesBeforeStart = 15 .ReminderSet = True .Save End With End If And if that doesn't work, maybe the solution is to use not a "run a script" rule but code to monitor the Calendar folder for new items using the Items.ItemAdd event. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Bob Smith" wrote in message ... I'm going out of my mind here. I have a really simple rule that checks for meeting requests as they arrive. If they have no reminder set, it's supposed to set it. Seems simple enough. I even put a msgbox in for the subject to ensure it actuallly fires. What am I missing, the reminder does not get set. Sub SetReminder(Item As MeetingItem) If ReminderSet = False Then msgbox item.subject Item.ReminderMinutesBeforeStart = 15 Item.ReminderSet = True Item.Save End If Set Item = Nothing End Sub |
#5
|
|||
|
|||
![]()
Got it working, had to go to the assocciated meeting item.
"Bob Smith" wrote: Sorry slight modification to that code, I should have copied and pasted. Still have the issue. Sub SetReminder(Item As MeetingItem) If item.ReminderSet = False Then msgbox item.subject Item.ReminderMinutesBeforeStart = 15 Item.ReminderSet = True Item.Save End If End Sub "Bob Smith" wrote: I'm going out of my mind here. I have a really simple rule that checks for meeting requests as they arrive. If they have no reminder set, it's supposed to set it. Seems simple enough. I even put a msgbox in for the subject to ensure it actuallly fires. What am I missing, the reminder does not get set. Sub SetReminder(Item As MeetingItem) If ReminderSet = False Then msgbox item.subject Item.ReminderMinutesBeforeStart = 15 Item.ReminderSet = True Item.Save End If Set Item = Nothing End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
new rule | alexanderd | Outlook - General Queries | 4 | April 6th 09 05:34 PM |
How can I use 'OR' in a rule | Elmo | Outlook and VBA | 1 | July 17th 07 03:19 AM |
How to setup a rule to forward rule in Outlook (xp or 2003) to forward emails from a certain domain when app isnt running? | KingCronos | Outlook - General Queries | 7 | November 15th 06 12:22 PM |
Can I set rule for BCC | Ed [MCT] | Outlook - General Queries | 1 | October 17th 06 11:04 AM |
sent items rule | Marius Kaizerman | Outlook - General Queries | 7 | September 14th 06 08:16 AM |