Skip to content

Latest commit

 

History

History
84 lines (43 loc) · 1.98 KB

Outlook.AppointmentItem.Start.md

File metadata and controls

84 lines (43 loc) · 1.98 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
AppointmentItem.Start property (Outlook)
vbaol11.chm902
vbaol11.chm902
Outlook.AppointmentItem.Start
1b869a9d-fe08-6efb-48b1-f33cf9ea0024
06/08/2017
medium

AppointmentItem.Start property (Outlook)

Returns or sets a Date indicating the starting date and time for the Outlook item. Read/write.

Syntax

expression.Start

expression A variable that represents an AppointmentItem object.

Example

This Visual Basic for Applications (VBA) example uses CreateItem to create an appointment and uses MeetingStatus to set the meeting status to "Meeting" and to make it a meeting request with both a required and an optional attendee.

Sub ScheduleMeeting() 
 
 Dim myItem as Outlook.AppointmentItem 
 
 Dim myRequiredAttendee As Outlook.Recipient 
 
 Dim myOptionalAttendee As Outlook.Recipient 
 
 Dim myResourceAttendee As Outlook.Recipient 
 
 
 
 Set myItem = Application.CreateItem(olAppointmentItem) 
 
 myItem.MeetingStatus = olMeeting 
 
 myItem.Subject = "Strategy Meeting" 
 
 myItem.Location = "Conference Room B" 
 
 myItem.Start = #9/24/2003 1:30:00 PM# 
 
 myItem.Duration = 90 
 
 Set myRequiredAttendee = myItem.Recipients.Add ("Nate Sun") 
 
 myRequiredAttendee.Type = olRequired 
 
 Set myOptionalAttendee = myItem.Recipients.Add ("Kevin Kennedy") 
 
 myOptionalAttendee.Type = olOptional 
 
 Set myResourceAttendee = myItem.Recipients.Add("Conference Room B") 
 
 myResourceAttendee.Type = olResource 
 
 myItem.Display 
 
End Sub

See also

AppointmentItem Object

How to: Import Appointment XML Data into Outlook Appointment Objects

[!includeSupport and feedback]