This documentation is archived and is not being maintained.

MouseWheel Event

Office 2003

Occurs when the user rotates the mouse wheel on a mouse device that has a wheel.

Private Sub Object_MouseWheel (ByVal Page As Boolean, ByVal Count As Long)

Object    The name of the ChartSpace, PivotTable, or Spreadsheet object that you are trapping this event for.

Page    Returns True if the page was changed.

Count    The number of lines that were scrolled.