Meeting Invites setup through VBA form Excel to Outlook

Ammi1989

New Member
Joined
Jan 10, 2018
Messages
6
Hi, Below is the codes I am using to set meeting invite for particular date. its working fine however I need a code where I can set meeting invites twice or thrice in a month where date is variable

Please advice if any one know how to do it. also it would be great if you know how to set Skype meeting.



Sub CreateAppt()
Dim myItem, myoutlk As Object
''Dim askype As tm1p

Dim myRequiredAttendee, myOptionalAttendee, myResourceAttendee As Outlook.Recipient
Set myoutlk = CreateObject("Outlook.application")
Set myItem = myoutlk.CreateItem(olAppointmentItem)
myItem.MeetingStatus = olMeeting
myItem.Subject = "Strategy Meeting"
myItem.Location = "TBD"
myItem.Start = #1/30/2018 1:30:00 PM# 'Question how to add mulitple dates if my appoinment twice in month
myItem.Duration = 90
Set myRequiredAttendee = myItem.Recipients.Add("Amit Nagar")
myRequiredAttendee.Type = olRequired
Set mys = myItem.skype.meeting
'Set myOptionalAttendee = myItem.Recipients.Add("Kevin Kennedy")
''myOptionalAttendee.Type = olOptional
Set myResourceAttendee = myItem.Recipients.Add("Conf Rm All Stars")
myResourceAttendee.Type = olResource
myItem.Display
''myItem.Send
End Sub
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Forum statistics

Threads
1,224,823
Messages
6,181,184
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top