event OleEvent (Ev as OleEvent)
Occurs whenever the custom view fires an event.

TypeDescription
Ev as OleEvent An OleEvent object that holds information about the event being fired. Use the ToString property to display information about fired event such us name, parameters, types and values.
The OleEvent occurs whenever the custom view fires an event. The CustomView property retrieves the CustomView object of the pivot control, allowing you to redefine its display. For example, setting CustomView.ControlID = "exontrol.graph" configures the pivot control to use the exontrol.Graph component for graphical data representation. The ViewChange event is triggered whenever there is a change in the control's view.

For example, the following code displays information about the events fired by the custom-view control:

Private Sub Pivot1_OleEvent(ByVal Ev As EXPIVOTLibCtl.IOleEvent)
    Debug.Print Ev.ToString
End Sub