Respond Method (AppointmentItem Object)

Respond Method (AppointmentItem Object)

The Respond method returns a MeetingItem object for responding to a meeting request for an appointment.


Set objMeetResp = objAppointment.Respond(RespondType)


Object. On successful return, contains a MeetingItem object that can be used to respond to the meeting request.


Required. An AppointmentItem object returned by the GetAssociatedAppointment method of a MeetingItem object.


Required. Long. The value to send as the response.


The Respond method prepares a meeting response which can be sent in answer to a meeting request using the Send method. The MeetingItem object has as a primary recipient the messaging user that created the requesting MeetingItem object from this appointment. The initiating user is available through the Organizer property.

The RespondType parameter can have exactly one of the following values:

RespondType setting

Decimal value




This messaging user wishes to firmly accept the meeting request.



This messaging user wishes to decline the meeting request.



This messaging user wishes to tentatively accept the meeting request.

The message class of the response you send depends on the value you specify in the RespondType parameter. It is IPM.Schedule.Meeting.Resp.Pos if you accept, IPM.Schedule.Meeting.Resp.Neg if you decline, or IPM.Schedule.Meeting.Resp.Tent if you accept tentatively.

The only AppointmentItem objects on which you can call the Respond method are those returned by the GetAssociatedAppointment method of a MeetingItem object. An attempt to call Respond on any other AppointmentItem object, such as one obtained directly from a calendar folder, returns CdoE_NO_SUPPORT.

You can respond to the same meeting request more than once. If you call the Respond method with the the RespondType parameter set to CdoResponseAccepted or CdoResponseTentative, CDO creates an AppointmentItem object associated with the meeting and saves it in your active calendar folder. You can use the Respond method on this appointment to change your response.

If you Respond to a meeting request with CdoResponseDeclined, no AppointmentItem object is created, but any AppointmentItem already in the folder is left undeleted. Therefore, if you accept a request and subsequently decline it, you must either Delete the associated AppointmentItem object yourself or leave it in the folder.

If you have declined a meeting request and subsequently wish to accept it, you cannot use any associated AppointmentItem object for your new response. However, if you have retained the requesting MeetingItem object, you can use its Respond method to accept the request.

If a meeting request is for a recurring meeting, your response applies to the entire recurring series. If you respond with CdoResponseAccepted or CdoResponseTentative, you can subsequently select an individual recurrence and alter your response to CdoResponseAccepted, CdoResponseTentative, or CdoResponseDeclined.

You cannot call Respond on a meeting cancellation, that is, a meeting request with CdoMeetingCanceled in its associated appointment's MeetingStatus property.

Calendar folders are not supported in the public folders store provided with Microsoft® Exchange, and AppointmentItem objects are stored as Message objects. An attempt to call Respond in this case returns CdoE_NO_SUPPORT.

Calling GetAssociatedAppointment on the MeetingItem object and then calling the appointment's Respond method is the same as calling the Respond method directly on the MeetingItem object.


See the example for the MeetingItem object's Respond method.

See Also


AppointmentItem Object