Share via


PropertyPageSite.OnStatusChange Method (Outlook)

Notifies Microsoft Outlook that a custom property page has changed.

Syntax

expression .OnStatusChange

expression A variable that represents a PropertyPageSite object.

Example

This Microsoft Visual Basic for Applications (VBA) example shows how to call the OnStatusChange method to notify Outlook that the user has changed a value on a custom property page.

Private Sub Option1_Click() 
 
 Dim myPPSite As Outlook.PropertyPageSite 
 
 Set myPPSite = Parent 
 
 If Not TypeName(myPPSite) = "Nothing" Then 
 
 globNewUserType = globAdministrator 
 
 If globUserType <> globNewUserType Then 
 
 globDirty = True 
 
 myPPSite.OnStatusChange 
 
 End If 
 
 Else 
 
 If TypeName(myPPSite) = "Nothing" Then 
 
 MsgBox "The Property Page returned an empty result." 
 
 End If 
 
 End If 
 
End Sub 
 
 
 

See Also

Concepts

PropertyPageSite Object Members

PropertyPageSite Object