PEAR Manual
Prev |  | Next

# Worksheet::activate

Worksheet::activate -- Set this worksheet as the active worksheet, i.e. the worksheet that is

## Synopsis

    require_once "Spreadsheet/Excel/Writer.php";

``void Worksheet::activate` ()`

## Description

Set this worksheet as the active worksheet, i.e. the worksheet that is displayed when the workbook is opened. Also set it as selected.

## Note

This function can not be called statically.

## Example

Example 37-1. Using activate()

Prev | Home | Next
Worksheet::select | Up | Worksheet::setFirstSheet