A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

MarkAsTask - Date setting



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 25th 06, 06:37 AM posted to microsoft.public.outlook.program_vba
Peter R Hawkes
external usenet poster
 
Posts: 4
Default MarkAsTask - Date setting

In Outlook2007 I would wish to use the MarkAsTask functionality and have no
problem, for example, of setting the OlMarkInterval to Tomorrow;

m_objItem.MarkAsTask (olMarkTomorrow)

What I would really like to do is set the due date to a date of my choice.
Is this possible? if so a 'guide' in the right direction would be appreciated!


--
Peter R Hawkes
Director
PMH Computer Systems Ltd
  #2  
Old July 25th 06, 03:22 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default MarkAsTask - Date setting

After you mark the item as a task the DueDate property is added to the item.
It's exposed in the object model as TaskDueDate.

You can also set TaskStartDate and TaskSubject on the item if you want and
if you want reminders you can set the ReminderSet and ReminderTime
properties on the item.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Peter R Hawkes" wrote in message
...
In Outlook2007 I would wish to use the MarkAsTask functionality and have
no
problem, for example, of setting the OlMarkInterval to Tomorrow;

m_objItem.MarkAsTask (olMarkTomorrow)

What I would really like to do is set the due date to a date of my choice.
Is this possible? if so a 'guide' in the right direction would be
appreciated!


--
Peter R Hawkes
Director
PMH Computer Systems Ltd


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MSOL2000 - Importing .pst from IMO setting to Workgroup setting Zean E Outlook - Installation 2 July 23rd 06 11:06 AM
Convert Date given by outlook api to java date amit deshpande Outlook - General Queries 0 June 26th 06 03:24 PM
Inbox - Sort - Date: Today Date: Yesterday Jan Groshan Outlook - General Queries 2 April 24th 06 09:23 PM
Is there a policy or registry setting for setting the default addr scsi Outlook - Installation 1 February 28th 06 01:19 PM
date fields - link the calander pop-up to a custom date field Tom Outlook - Using Forms 0 January 23rd 06 09:13 PM


All times are GMT +1. The time now is 03:54 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.