Fetch selcted time from outlook calendar and parse to custom form.

M

MHJ

I have created an add-in, which creates a button, that on click launches a
custom form based on the IPM.Appointment. the problem is that if I select a
period of time in the calendar, and the press my button the form opens with
the starttime of now, and the endtime of 30 min. in the future. just like if
I didn't select any time in the calendar and chose new meeting request or
new appointment.
In my addin, i can set the starttime and endtime of my form, but i can't
seem to find the selected time in the calendar, of which i want to set the
forms time.
I have tried to use the Application.ActiveExplorer.Selection, but with no
luck. Do anyone know how I can find the information of start and endtime
from the calendar, in VBA?
Sincerely MHJ
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top