Dim olAppt As Outlook.AppointmentItem (or MeetingItem, get the same error either way)
Set olAppt = olApp.CreateItem(olAppointmentItem)
When I run the following two lines of code I get an error that says olAppt equals nothing. I am trying to add calendar events from a macro. Like in the following link.
I am creating the macro in Outlook 2000. Do I have a different version of visual basic, or is it something else. Any help would be greatly appreciated. Thank you in advance.
Set olAppt = olApp.CreateItem(olAppointmentItem)
When I run the following two lines of code I get an error that says olAppt equals nothing. I am trying to add calendar events from a macro. Like in the following link.
I am creating the macro in Outlook 2000. Do I have a different version of visual basic, or is it something else. Any help would be greatly appreciated. Thank you in advance.