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

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,226,115
Messages
6,189,053
Members
453,522
Latest member
Seeker2025

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