Checkbox Private

  • Thread starter Thread starter Frank Van Eygen
  • Start date Start date
F

Frank Van Eygen

I have a macro in Excel that generates a calendar appointment in Outlook that
works fine except that I don't know how to set the Private checkbox in
Outlook.
Can somebody help please?
 
The object browser (F2 in VBA) is your friend. Take a look at the
AppointmentItem.Sensitivity property.
 
Tahnk you Sue,
This did the trick:
Set olApt = olApp.CreateItem(olAppointmentItem)
olApt.Sensitivity = olPrivate
 
Back
Top