ViewportTop Property

Microsoft Office Web Components Object Model

ViewportTop Property

       

Returns or sets a Long value that represents the top of the viewable data range. Use this property to scroll that data area down by a specific number of pixels. Read/write.

expression.ViewportTop

expression   Required. An expression that returns a PivotData object.

Remarks

Use the ViewportLeft property to return or set the left side of the viewable data range.

Setting this property to an invalid value will result in a run-time error. For example, setting this property to 5000 when the data range cannot be scrolled by that many pixels will result in a run-time error.