# SpreadsheetSetFooter

Sets a footer in a spreadsheet.

## Method Signature

```
SpreadsheetSetFooter(spreadsheetObj=[any], footer=[any])
```

### Arguments

| Argument         | Type     | Required | Description                                                             | Default |
| ---------------- | -------- | -------- | ----------------------------------------------------------------------- | ------- |
| `spreadsheetObj` | `ANY`    | `true`   | The spreadsheet object.                                                 |         |
| `footer`         | `STRUCT` | `true`   | A structure containing footer configuration (left, center, right text). |         |

## Examples

Set page footer:

```js
// Add footer with date
var spreadsheet = SpreadsheetNew();
SpreadsheetSetFooter( spreadsheet, 1, "", "Page &P - &D" );
```

## Related

* [SpreadsheetSetHeader()](https://boxlang.ortusbooks.com/boxlang-framework/boxlang-plus/modules/bx-spreadsheet/reference/built-in-functions/spreadsheetsetheader) - Set header
* [SpreadsheetSetPrintOrientation()](https://boxlang.ortusbooks.com/boxlang-framework/boxlang-plus/modules/bx-spreadsheet/reference/built-in-functions/spreadsheetsetprintorientation) - Set orientation
* [Print Settings Guide](https://github.com/ortus-boxlang/boxlang-docs/blob/v1.x/boxlang-framework/boxlang-plus/modules/bx-spreadsheet/print-settings.md) - Printing configuration
