![]() ![]() If a reminder time is not set, it will use the default setting for Tasks, usually 8 am on the due date.Īccepted values for ReminderSet are True (on) or False (no reminder) This example creates a reminder for 6 hrs before the due date or 6 pm the day before. To override your default settings for Task reminders (set in Options, Tasks), you can use the ReminderSet and ReminderTime properties. ![]() ReminderTime = Date + 2.25 ' remind at 6 AM 2 days from now To use today's date only, not the current time, use Date and decimals to set the due date or reminder time. ObjTask.StartDate = Item.ReceivedTime + 2 If you use a category that is not in your Categories list, the color category field in the view will be colorless as the category is not in the master list. ![]() If you prefer to change the Start date, you would add a whole number to the start date line. To calculate the due date, you'll use the DueDate property and add a whole number to the Received date. You can customize the script to set a category or due date (or any other fields supported in Tasks). Set objTask = Application.CreateItem(olTaskItem) Sub ConvertMailtoTask(Item As Outlook.MailItem) Paste this code into the VBA editor then create a rule and choose Run a script as the action. Press Alt+F11 to open the VBA editor and expand the tree to find ThisOutlookSession. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |