PEAR Manual
Prev |  | Next

# Worksheet::setFirstSheet

Worksheet::setFirstSheet -- Set this worksheet as the first visible sheet. This is necessary

## Synopsis

    require_once "Spreadsheet/Excel/Writer.php";

``void Worksheet::setFirstSheet` ()`

## Description

Set this worksheet as the first visible sheet. This is necessary when there are a large number of worksheets and the activated worksheet is not visible on the screen.

## Note

This function can not be called statically.

## Example

Example 37-1. Using setFirstSheet()

Prev | Home | Next
Worksheet::activate | Up | Worksheet::protect