Moving Tasks to Calendar

S

Simple Simon

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

Sue Mosher [MVP-Outlook]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top