ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how do i set up a repeating meeting in outlook? (https://www.excelbanter.com/excel-discussion-misc-queries/165672-how-do-i-set-up-repeating-meeting-outlook.html)

Naomi x

how do i set up a repeating meeting in outlook?
 


David Biddulph[_2_]

how do i set up a repeating meeting in outlook?
 
Firstly, you'd be better asking in an Outlook group, not an Excel group.
Secondly, please put the question in the body of the message, not just in
the subject line.
[And thirdly, Outlook help will give you the answer.]
--
David Biddulph

"Naomi x" <Naomi wrote in message
...




iliace

how do i set up a repeating meeting in outlook?
 
I adapted some code from MSDN Library:

Sub RecurringYearNth()
Dim objOutlook As Outlook.Application

Set objOutlook = GetObject(, _
"Outlook.Application")

Dim oAppt As Outlook.AppointmentItem
Dim oPattern As Outlook.RecurrencePattern
Set oAppt = objOutlook.CreateItem(olAppointmentItem)
Set oPattern = oAppt.GetRecurrencePattern
With oPattern
.RecurrenceType = olRecursYearNth
.DayOfWeekMask = olMonday
.MonthOfYear = 6
.Instance = 1
.Occurrences = 10
.Duration = 180
.PatternStartDate = #6/1/2007#
.StartTime = #2:00:00 PM#
.EndTime = #5:00:00 PM#
End With
oAppt.Subject = "Recurring YearNth Appointment"
oAppt.Save
End Sub

On Nov 12, 9:44 am, Naomi x <Naomi
wrote:





All times are GMT +1. The time now is 07:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com