Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBA Outlook - ReminderTime

Status
Not open for further replies.

Serendipiter

Programmer
Jun 22, 2010
18
US
Using Outlook 2007 I am using rules to run a script (shown below) when a new email is received. It stores the value as expected, but then if I move the email from the inbox to another folder and check the value of ReminderTime, I see that the value has been reset. Is that supposed to happen? If so, how do I retain the value when moving the email from the inbox to another folder. If not, is there a workaround?

Public Sub Test(item As Outlook.MailItem)

item.ReminderTime = Now
MsgBox item.ReminderTime

End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top