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
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Forum statistics

Threads
1,214,791
Messages
6,121,611
Members
449,038
Latest member
apwr

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