Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting Outlook Reminder Date on a Task 1

Status
Not open for further replies.

cranebill

IS-IT--Management
Jan 4, 2002
1,113
0
0
US
I have this coding but cant for the life of me set the Reminder Date

Dim appOutLook As Outlook.Application
Dim taskOutLook As Outlook.TaskItem
Set appOutLook = CreateObject("Outlook.Application")
Set taskOutLook = appOutLook.CreateItem(olTaskItem)
With taskOutLook
.Subject = Me!tasktitle
.Body = Me!taskbody
.ReminderSet = True
.ReminderOverrideDefault = True
.ReminderTime = Me!duetime
.duedate = Me!taskduedate
.ReminderPlaySound = True
.ReminderSoundFile = "C:\Windows\Media\Ding.WAV"
.Save
End With
Set taskOutLook = Nothing
Set appOutLook = Nothing

In the Reminder Date field it shows the date of 12/30/1899. I know why its setting this particular date but just do not know the proper code to actually change the Reminder Date.

I thought:
.ReminderDate
would work since there is a ReminderTime... but no that would be too easy lol

Bill
 
Figured it out

.ReminderTime

sets both time and date, so on my form i formatted my textbox for "General Date" and all is well

Bill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top