Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Copying Emails to the Calendar (http://www.outlookbanter.com/outlook-vba/76212-copying-emails-calendar.html)

rommel August 1st 08 12:47 PM

Copying Emails to the Calendar
 
In Outlook 2003 I want to automatically copy a sent Email to the Calendar as
an appointment, as a reminder.

Can I do this with VBA?

If it is possible, how do I turn the Email into a Calender appointment?

Rommel

Ken Slovak - [MVP - Outlook] August 1st 08 01:46 PM

Copying Emails to the Calendar
 
You don't. What you do is create a new AppointmentItem, probably using
Application.CreateItem() and then populate the appointment fields with data
you get from that email.

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


"Rommel" wrote in message
...
In Outlook 2003 I want to automatically copy a sent Email to the Calendar
as
an appointment, as a reminder.

Can I do this with VBA?

If it is possible, how do I turn the Email into a Calender appointment?

Rommel



rommel August 1st 08 02:08 PM

Copying Emails to the Calendar
 
Instead of copying fields, as you suggest, I just want to replicate the
effect of dragging a sent email onto the Calendar button in Outlook. The
content of the appointment is then a text copy of the email (including to,
and from fields etc).

Can I duplicate this by simply setting the "body text" of the appointment
item to the email item, for example?

Rommel

"Ken Slovak - [MVP - Outlook]" wrote:

You don't. What you do is create a new AppointmentItem, probably using
Application.CreateItem() and then populate the appointment fields with data
you get from that email.

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


"Rommel" wrote in message
...
In Outlook 2003 I want to automatically copy a sent Email to the Calendar
as
an appointment, as a reminder.

Can I do this with VBA?

If it is possible, how do I turn the Email into a Calender appointment?

Rommel




Ken Slovak - [MVP - Outlook] August 1st 08 02:16 PM

Copying Emails to the Calendar
 
You can add anything you want to the appointment Body, including any
information from the email such as Body or sender or recipients or whatever.
You'd still have to do it using code to copy the field information from the
email to the appointment though.

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


"Rommel" wrote in message
...
Instead of copying fields, as you suggest, I just want to replicate the
effect of dragging a sent email onto the Calendar button in Outlook. The
content of the appointment is then a text copy of the email (including to,
and from fields etc).

Can I duplicate this by simply setting the "body text" of the appointment
item to the email item, for example?

Rommel

"Ken Slovak - [MVP - Outlook]" wrote:

You don't. What you do is create a new AppointmentItem, probably using
Application.CreateItem() and then populate the appointment fields with
data
you get from that email.

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


"Rommel" wrote in message
...
In Outlook 2003 I want to automatically copy a sent Email to the
Calendar
as
an appointment, as a reminder.

Can I do this with VBA?

If it is possible, how do I turn the Email into a Calender appointment?

Rommel






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