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

Problem with task creation



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 11th 09, 07:35 PM posted to microsoft.public.outlook.program_vba
Daniel.C[_2_]
external usenet poster
 
Posts: 4
Default Problem with task creation

OutLook 2007.
I'm creating tasks and I want to check off the "send me a status report
when this task is complete". So far, i found no property to do it.
Any help welcome.


  #2  
Old February 11th 09, 08:36 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Problem with task creation

There is no true/false setting like that for code. You have to use the
StatusUpdateRecipients and StatusOnCompletionRecipients strings or set up
the Recipients collection of the task item for that.

StatusOnCompletionRecipients is the Bcc set of recipients,
StatusUpdateRecipients are the Cc recipients.

--
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


"Daniel.C" wrote in message
...
OutLook 2007.
I'm creating tasks and I want to check off the "send me a status report
when this task is complete". So far, i found no property to do it.
Any help welcome.



  #3  
Old February 12th 09, 06:57 PM posted to microsoft.public.outlook.program_vba
Daniel.C[_2_]
external usenet poster
 
Posts: 4
Default Problem with task creation

Thanks, but it didn't work. Here is my code :

Set MyOutlook = CreateObject("Outlook.Application")
Set myTask = MyOutlook.CreateItem(3)
myTask.assign
With myTask
.Recipients.Add ")
.StatusOnCompletionRecipients = ""
.StatusOnCompletionRecipients = ""
.Display
End With
Set myTask = Nothing
Set MyOutlook = Nothing

Can you tell me what's wrong ?
TIA

There is no true/false setting like that for code. You have to use the
StatusUpdateRecipients and StatusOnCompletionRecipients strings or set up the
Recipients collection of the task item for that.

StatusOnCompletionRecipients is the Bcc set of recipients,
StatusUpdateRecipients are the Cc recipients.



  #4  
Old February 12th 09, 07:04 PM posted to microsoft.public.outlook.program_vba
Daniel.C[_2_]
external usenet poster
 
Posts: 4
Default Problem with task creation

Oops.
Set MyOutlook = CreateObject("Outlook.Application")
Set myTask = MyOutlook.CreateItem(3)
myTask.assign
With myTask
.Recipients.Add ")
.StatusOnCompletionRecipients = ""
.StatusUpdateRecipients = ""
.Display
End With
Set myTask = Nothing
Set MyOutlook = Nothing
TIA

Thanks, but it didn't work. Here is my code :

Set MyOutlook = CreateObject("Outlook.Application")
Set myTask = MyOutlook.CreateItem(3)
myTask.assign
With myTask
.Recipients.Add ")
.StatusOnCompletionRecipients = ""
.StatusOnCompletionRecipients = ""
.Display
End With
Set myTask = Nothing
Set MyOutlook = Nothing

Can you tell me what's wrong ?
TIA

There is no true/false setting like that for code. You have to use the
StatusUpdateRecipients and StatusOnCompletionRecipients strings or set up
the Recipients collection of the task item for that.

StatusOnCompletionRecipients is the Bcc set of recipients,
StatusUpdateRecipients are the Cc recipients.



  #5  
Old February 13th 09, 12:08 AM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Problem with task creation

Dim oRecipCC As Outlook.Recipient
Dim oRecipBCC As Outlook.Recipient

With myTask
' StatusUpdateRecipients
.Set oRecipCC = Recipients.Add ")
oRecipCC.Type = olCC
oRecipCC.Resolve

' StatusOnCompletionRecipients
Set oRecipBCC = Recipients.Add ")
oRecipBCC.Type = olBCC
oRecipBCC.Resolve

.Display
End With


--
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


"Daniel.C" wrote in message
...
Oops.
Set MyOutlook = CreateObject("Outlook.Application")
Set myTask = MyOutlook.CreateItem(3)
myTask.assign
With myTask
.Recipients.Add ")
.StatusOnCompletionRecipients = ""
.StatusUpdateRecipients = ""
.Display
End With
Set myTask = Nothing
Set MyOutlook = Nothing
TIA

Thanks, but it didn't work. Here is my code :

Set MyOutlook = CreateObject("Outlook.Application")
Set myTask = MyOutlook.CreateItem(3)
myTask.assign
With myTask
.Recipients.Add ")
.StatusOnCompletionRecipients = ""
.StatusOnCompletionRecipients = ""
.Display
End With
Set myTask = Nothing
Set MyOutlook = Nothing

Can you tell me what's wrong ?
TIA

There is no true/false setting like that for code. You have to use the
StatusUpdateRecipients and StatusOnCompletionRecipients strings or set
up the Recipients collection of the task item for that.

StatusOnCompletionRecipients is the Bcc set of recipients,
StatusUpdateRecipients are the Cc recipients.




  #6  
Old February 13th 09, 04:24 PM posted to microsoft.public.outlook.program_vba
Daniel.C[_2_]
external usenet poster
 
Posts: 4
Default Problem with task creation

Thanks for answering. I surely miss something. When I execute the code,
I display a task without main recipient and without send button.
Can you help me further more ?
Daniel

Dim oRecipCC As Outlook.Recipient
Dim oRecipBCC As Outlook.Recipient

With myTask
' StatusUpdateRecipients
.Set oRecipCC = Recipients.Add ")
oRecipCC.Type = olCC
oRecipCC.Resolve

' StatusOnCompletionRecipients
Set oRecipBCC = Recipients.Add ")
oRecipBCC.Type = olBCC
oRecipBCC.Resolve

.Display
End With


--
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


"Daniel.C" wrote in message
...
Oops.
Set MyOutlook = CreateObject("Outlook.Application")
Set myTask = MyOutlook.CreateItem(3)
myTask.assign
With myTask
.Recipients.Add ")
.StatusOnCompletionRecipients = ""
.StatusUpdateRecipients = ""
.Display
End With
Set myTask = Nothing
Set MyOutlook = Nothing
TIA

Thanks, but it didn't work. Here is my code :

Set MyOutlook = CreateObject("Outlook.Application")
Set myTask = MyOutlook.CreateItem(3)
myTask.assign
With myTask
.Recipients.Add ")
.StatusOnCompletionRecipients = ""
.StatusOnCompletionRecipients = ""
.Display
End With
Set myTask = Nothing
Set MyOutlook = Nothing

Can you tell me what's wrong ?
TIA

There is no true/false setting like that for code. You have to use the
StatusUpdateRecipients and StatusOnCompletionRecipients strings or set up
the Recipients collection of the task item for that.

StatusOnCompletionRecipients is the Bcc set of recipients,
StatusUpdateRecipients are the Cc recipients.





 




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
database creation problem RT Outlook - Installation 0 February 25th 08 09:20 PM
Problem with profile creation Dave Twing[_2_] Outlook - Installation 1 October 13th 07 07:04 PM
Differentiate between drag & drop email task creation and normal task creation Mohit Add-ins for Outlook 1 April 18th 07 05:54 AM
Task window Problem Anopheles Outlook Express 2 October 17th 06 08:07 AM
Pop the Task Creation Outlook form from Word Jim Conrady Outlook and VBA 1 September 18th 06 06:17 AM


All times are GMT +1. The time now is 05:05 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.