Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - Using Forms (http://www.outlookbanter.com/outlook-using-forms/)
-   -   Moving Tasks to Calendar (http://www.outlookbanter.com/outlook-using-forms/67943-moving-tasks-calendar.html)

simple simon March 3rd 08 10:15 PM

Moving Tasks to Calendar
 
I run a small business and use a smartphone and outlook(2003) I use tasks to
log all of my work and then move the task to the calendar when i schedule my
week. It all works really well but I want it to do something differently.
As the task in copied to calendar (by a hidden macro i guess) it places data
in the notes fied of the 'Now appointment', which has the subject at the top
and is seen in the calendar. However i want the contact name at the top not
the subject.

How does one find the macro or VB script which is deciding what information
is copied over and more importantly can it be changed??? Or do I want too
much!

Sue Mosher [MVP-Outlook] March 4th 08 02:54 PM

Moving Tasks to Calendar
 
There is no such hidden macro or script. The functionality is internal to Outlook, and its behavior cannot be modified. If you want to write your own code, you have a couple of choices:

1) Use the TaskItem.Copy and TaskItem.Move methods to copy a task into a calendar folder and then modify the Body property of the item returned by the Move method. This approach takes the least coding, but might not actually work well at all. I've never tried it, because I like the greater control that you get from ...

2) Create a new item in the Calendar folder and set all its properties using data from the task. The code sample at http://www.outlookcode.com/codedetail.aspx?id=645 shows how to create a task from an email message. Creating an appointment from a task would be structurally the same, but would, of course, use different properties.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Simple Simon" wrote in message ...
I run a small business and use a smartphone and outlook(2003) I use tasks to
log all of my work and then move the task to the calendar when i schedule my
week. It all works really well but I want it to do something differently.
As the task in copied to calendar (by a hidden macro i guess) it places data
in the notes fied of the 'Now appointment', which has the subject at the top
and is seen in the calendar. However i want the contact name at the top not
the subject.

How does one find the macro or VB script which is deciding what information
is copied over and more importantly can it be changed??? Or do I want too
much!



All times are GMT +1. The time now is 06:13 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com