Docs HotXLS

FirstSheet-property

Renvoie or sets the first visible sheet tab in a classic XLS workbook. Read/write Integer

Syntaxe

property FirstSheet: Integer;

Remarques

The value is 1-based and must refer to an existing worksheet. This property controls which sheet tab appears at the left edge of the tab bar when Excel opens the workbook; use TabRatio to adjust the relative width of the tab bar, and use ActiveSheet or Activate to choose the active sheet

Exemple

This example scrolls the workbook tab bar so the third sheet tab is first visible

Workbook.FirstSheet := 3;