I have created a Custom Appointment Form called 'PRH Appointment' and published to Personal Forms Library.
I now wish to create new appointments via VBA utilizing this Form .... how is causing me some difficulty!
Can someone assist me in how to amend my code snippet, which simply uses the default form, to allow me to achieve my goal?
Dim olApp As Outlook.Application
Dim olApt As AppointmentItem
Set olApp = New Outlook.Application
Set olApt = olApp.CreateItem(olAppointmentItem)
.Start = dteStart
.End = dteEnd
.Subject = strEvent
.Location = strLocation
.Body = strbody
.BusyStatus = olFree
.ReminderSet = False
.Categories = strCat
Set olApt = Nothing
Set olApp = Nothing