Outlook Appointments > how do I delete or update

Barsoom

New Member
Joined
May 25, 2012
Messages
6
I Know how to make an outlook appointment:

Sub MakeAppt()


Dim olApp As Outlook.Application
Dim olApt As AppointmentItem


Set olApp = New Outlook.Application
Set olApt = olApp.CreateItem(olAppointmentItem)


With olApt
.RequiredAttendees = Range("B2")
.Subject = Range("B3")
.Location = Range("B4")
.Start = Range("B5") + Range("D5")
.End = Range("B6") + Range("D6")
.Categories = Range("E6")
.Body = Range("A8")
.MeetingStatus = 1
.BusyStatus = olBusy
'.Send
.Save
End With


Set olApt = Nothing
Set olApp = Nothing

MsgBox "Appointment Made", vbInformation, "Appointment Made"


End Sub
##############

How do I delete an appointment based on its
1. Subject
2. Start Date

Also How do I Update or Amend an appointment by searching for its
1. Subject
2. Start Date
and updating absolutely everything else
 

Some videos you may like

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Watch MrExcel Video

Forum statistics

Threads
1,122,955
Messages
5,599,040
Members
414,280
Latest member
morralletti

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top