Hi,


I'm trying tomanipulate with meeting request from third party application. I am able toinclude specific people and even book a meeting room automatically, question iscan I also update or cancel the event it remotely only knowing its name andtime? Such appointment is originally host in CRM system with multiple links toother categories. If this changes in CRM it should be updated / cancelled alsoin the Outlook meeting.


Below is the code (removed the variable definitions)that I use to send initiation out via Outlook.


Sub BookOutlookResource()
    Dim StartTime, EndTime, TheDate, Subject, Body, Room, StartTimeArray, EndTimeArray, StartDateTime, EndDateTime, aTo


    Dim objOL 'As Outlook.Application
    Dim objAppt 'As Outlook.AppointmentItem
    '/../ define variables /../
     
    
  Const olAppointmentItem = 1
  Const olMeeting = 1
  Set objOL = CreateObject("Outlook.Application")
  Set objAppt = objOL.CreateItem(olAppointmentItem)
  With objAppt
         .Subject = Subject
         .Body = Body
         .Start = TheDate & " " & StartTime
         .End = TheDate & " " & EndTime
         .MeetingStatus = olMeeting
         .RequiredAttendees = aTo
         .Send
  End With
  Set objAppt = Nothing
  Set objOL = Nothing
 
  End Sub

Thank you in advance,


Mart