View Single Post
  #3  
Old February 15th 07, 06:31 PM posted to microsoft.public.outlook.program_vba
julkes
external usenet poster
 
Posts: 3
Default create appointment from email

sorry that was a weak question. Let me start again.

I have email messages which arrive in my inbox which I want to create a rule
to run an external application vbs script which will find the start and end
date and time contained in the message and create an appointment on my
calendar.

START: dd-mmm-yyyy hh:mm
END: dd-mmm-yyyy hh:mm

with the same subject details as contained by the message. I then need to
copy the content of the message into the notes for the appointment.

To be honest I thought this would have been done by someone before and all I
needed to do was copy the code to use it.

Regards,

Mark.

"Eric Legault [MVP - Outlook]" wrote:

Can you be more specific with what this appointment should contain? Do you
want to use the "Run a Script" action with your rule to run your VBA code?

FYI, to create an appointment:

Set myItem = myOlApp.CreateItem(olAppointmentItem)

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"julkes" wrote:

Please can someone help me with this. I am trying to create a calendar
appointment from an email using rules. Does anyone have an example piece of
code that does this or is close to this please.

Ads