Bewerken

Delen via


Window.ScrollWorkbookTabs(Object, Object) Method

Definition

Scrolls through the workbook tabs at the bottom of the window.

public object ScrollWorkbookTabs (object Sheets, object Position);
Public Function ScrollWorkbookTabs (Optional Sheets As Object, Optional Position As Object) As Object

Parameters

Sheets
Object

Optional Object. The number of sheets to scroll by. Use a positive number to scroll forward, a negative number to scroll backward, or 0 (zero) not to scroll at all. You must specify Sheets if you don't specify Position.

Position
Object

Optional Object. Use xlFirst to scroll to the first sheet, or use xlLast to scroll to the last sheet. You must specify Position if you don't specify Sheets.

Returns

Remarks

The ScrollWorkbookTabs method doesn't affect the active sheet in the workbook.

Applies to