PEAR Manual
Prev |  | Next

# Worksheet::repeatColumns

Worksheet::repeatColumns -- Set the columns to repeat at the left hand side of each printed page.

## Synopsis

    require_once "Spreadsheet/Excel/Writer.php";

``void Worksheet::repeatColumns` (integer $first_col [, integer $last_col=NULL])`

## Description

Set the columns to repeat at the left hand side of each printed page.

## Parameter

- `integer $first_col` - First column to repeat

- `integer $last_col` - Last column to repeat. Optional.

## Note

This function can not be called statically.

## Example

Example 37-1. Using repeatColumns()

Prev | Home | Next
Worksheet::repeatRows | Up | Worksheet::printArea