![]() |
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 trying to use the VBA script below to create a TaskItem from an
email when a particular one of my rules gets triggered. However, it appears as if the script is never run. Any thoughts? I've tried tweaking various security settings but this hasn't appeared to help. Public Sub CreateTaskForEmail(eMail As MailItem) Dim Task As Outlook.TaskItem Set Task = ThisOutlookSession.CreateItem(olTaskItem) 'Create a task that will remind me to look at it tomorrow With Task .Subject = eMail.Subject .Body = eMail.Body .DueDate = DateTime.DateAdd("d", 1, Now) .ReminderSet = True .ReminderTime = "10:00" .Save End With End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Selective Read Receipts VBA using run a script rule | prideoflions | Outlook and VBA | 5 | May 26th 06 03:31 PM |
Script error while running .Net Code | Muhammad Usman | Outlook - Using Forms | 1 | May 4th 06 12:17 PM |
"Run a script" rule triggers but script does not execute | Trey Shaffer | Outlook and VBA | 7 | April 7th 06 11:34 PM |
Problem running a VBA script from an Outlook rule | Olivier Langlois | Outlook and VBA | 5 | March 16th 06 09:03 PM |
Problem running a VBA script from an Outlook rule | Olivier Langlois | Add-ins for Outlook | 5 | March 16th 06 09:03 PM |