Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 942
  • Last Modified:

Private appointments in Outlook VBA and AppointmentItem Object

I need to be able to change the 'Private' property of an appointment (bottom right checkbox in the Appointment form) from VBA. By getting an object reference to a private appointment in code and Watching the variable, I have determined that there doesn't seem to be a corresponding Property in the AppointmentItem object. What's up with that? Or in other words: is there a VBA approach to changing the Private setting of appointments in Outlook?
0
FlorisMK
Asked:
FlorisMK
1 Solution
 
FlorisMKAuthor Commented:
Oops, found it:

If itm.Sensitivity = olPrivate Then
   itm.Sensitivity = olNormal
   itm.Save
End If
0
 
SpideyModCommented:
PAQ'd and points refunded.

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now