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
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.