OnStatusChange Method Example

This Microsoft Visual Basic/Visual Basic for Applications example shows how to call the OnStatusChange method to notify Microsoft 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
    globNewUserType = globAdministrator
    If globUserType <> globNewUserType Then
        globDirty = True
    End If
    myPPSite.OnStatusChange
End Sub