|
-
Jun 24th, 2002, 07:59 AM
#1
Thread Starter
Lively Member
outlook Calendar
hello !
i just created an appointment in outlook with VB using outlook 9 object library.
And now i want to know what are the dates that the Appointment is taking place .
is there any method in outlook that will show me that ?
10x
-
Jun 24th, 2002, 08:10 AM
#2
Lively Member
Hi there
I don't have an answer to your question ( ) but wanted to know if you could share how you managed to add the appointment?
I'm looking into developing an add-in that I want to use with Outlook so this could be a goos starting point for me.
Cheers
Wayne
-
Jun 24th, 2002, 08:28 AM
#3
Try this
VB Code:
Private Sub CreateAppointment(StartTime As Date, Endtime As Date, Subject As String, Location As String)
'Create a reference to a Appointment item
Dim e1 As Outlook.AppointmentItem
'Create a new appointment item
Set e1 = o1.CreateItem(olAppointmentItem)
'Set a few of the many possible appointment parameters.
e1.Start = StartTime
e1.End = Endtime
e1.Subject = Subject
e1.Location = Location
'If you want to set a list of recipients, do it like this
'e1.Recipients.Add Name
'Commit the appointment
e1.Send
'Free up the space
Set e1 = Nothing
End Sub
-
Jun 24th, 2002, 09:01 AM
#4
Thread Starter
Lively Member
If You Want Something That Has RecurrencePattern
Tell Me Will Send You A Great Code
-
Jun 24th, 2002, 09:23 AM
#5
Junior Member
You could set the date using the following code, perhaps?
With MyAppt
.Start = Now() & "09:30:00" 'Set the date and time of the appointment
.Duration = 1 'Set the length in minutes of the appointment
end with
Hope this is what you were asking , if not let me know
Good luck
Richard
-
Jun 24th, 2002, 10:23 AM
#6
Thread Starter
Lively Member
If You Want Something That Has RecurrencePattern
Tell Me Will Send You A Great Code
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|