home *** CD-ROM | disk | FTP | other *** search
- Sub SchedAdd()
- Dim myobj As Object
- Set myobj = CreateObject("SchedulePlus.Application.7")
-
- Dim objSched As Object
- Set objSched = myobj.ScheduleLogged
-
- Dim objAppt As Object
- Set objAppt = objSched.Appointments.New
- objAppt.Start = #16/07/95 11:30:00#
- objAppt.End = #16/07/95 12:30:00#
- objAppt.BusyType = 1
- objAppt.AlarmAmount = 15
- objAppt.Ring = True
- objAppt.Text = "My note to myself from OLE Automation"
- objAppt.Flush
-
- End Sub
-