Use VBA to delete all appointments in a day of Outlook

John Papaioannou 21 Reputation points
2025-02-15T07:19:55.55+00:00

From MS Access 365 I need to use VBA to automatically delete all appointments for a specific day in the Calendar of Outlook.

I can access the specific Calendar using the following command

Set nsCalendar = nsMAPI.Folders("Specific Outlook Email").Folders("Calendar")

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
5,766 questions
Access Development
Access Development
Access: A family of Microsoft relational database management systems designed for ease of use.Development: The process of researching, productizing, and refining new or existing technologies.
899 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. DBG 2,376 Reputation points
    2025-02-15T14:30:50.7766667+00:00

    You will probably have to loop through all the events in the calendar and check for the start date.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.