VBA Outlook Appointment Item "Start" Variables?

A

Adam Flippo

Hello all,

I have been working on an Outlook->Excel calender
export makro based on the well known Helen Feddema macro "Exporting Calendar Items to Excel".

Thank you very much to Helen for a very intuitive and easy to use macro!

I do, however have one question about possible Appointment.start and .end object variables:

Is it possible to change the output of the start object to the date/ time?

I would like to have the date and time output to 2 separate cells in excel.

I would like to have something like this:

Set rng = wks.Cells(i, j)
If itm.start <> "" Then rng.value = itm.startdate

j = j + 1

Set rng = wks.Cells(i, j)
If itm.start <> "" Then rng.value = itm.starttime

j = j + 1

Set rng = wks.Cells(i, j)
If itm.End <> "" Then rng.value = itm.Endtime
j = j + 1

Any help on this would be greatly appreciated.

Thanks,

Adam
 
N

noie

Hi !

I have the same problem as you Adam.
Can you explain me how you use the information that Micheal gives you ?

Thanks.
 

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