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: 234
  • Last Modified:

VBA Property for Private Check Box

I'm struggling to locate the VBA property for the 'Private' check box that appears in the bottom right-hand corner of items in Outlook.

I'm assuming that it will be a property of the AppointmentItem obect - is this correct, or do I have to get at it some other way?
0
bullethead
Asked:
bullethead
1 Solution
 
jessnjeffCommented:
It is the Sensitivity property.

0  = Normal
1 = Personal
2 = Private
3 = confidential

myitem.sensitivity = 2
0
 
stefriCommented:
Sensitivity Property
               

Returns or sets the sensitivity for the Outlook item. Can be one of the following OlSensitivity constants: olConfidential(3), olNormal(0), olPersonal(1), or olPrivate(2). This property corresponds to the MAPI property PR_SENSITIVITY.

Read-only Long for RemoteItem and ReportItem. For all other objects, Read/write Long.

Syntax

object.Sensitivity

object   Required. An expression that returns an item Outlook object that is listed in the "Applies To" list.
0
 
bulletheadAuthor Commented:
Excellent and prompt response as always!  Thank you both.
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