Setting reminder: Date format

M

mapsdeveloper

Hi

I've got:

myDate = "19.11.2008"
mytime = "18:00"

How can I add these two together and then set the reminder

item.setReminder = ??? 'What's the format here?

Many thanks
 
K

Ken Slovak - [MVP - Outlook]

There is no setReminder method or property.

What language are you using? What type of item do you want the reminder set
on?

How you set a reminder depends on what type of item you are working with.
For example if you have an appointment item that you want to set a reminder
on and you're using VBA code then you'd use code like this:

itm.ReminderMinutesBeforeStart = 60
itm.ReminderSet = True

You'd have to calculate when the appointment is and use that Long property
to set the time when the reminder fires.

For a mail item you'd use different settings such as this in VBA code:

itm.ReminderTime = Format(myDate & " " & mytime, vbGeneralDate)
itm.ReminderSet = True
 
Top