OnAfterViewChange Event
Occurs after the view has changed in the active page window or Web site window.
Private Sub expression_OnAfterViewChange( )
expression A variable name which references an object in the Applies To list declared using the WithEvents keyword in a class module.
Example
The following example displays the name of the new page window view mode.
Private Sub PageWindowEx_OnAfterViewChange()
'Occurs when the view changes in the active window
MsgBox "The page has changed to " & PageWindowEx.ViewMode & "."
End Sub