---
Product: Aspose.Cells
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/python/selection
---

# Selection

## Overview

`Selection` is a class in Aspose.Cells FOSS for Python.

Represents cell selection in a sheet view.

This class declares 1 method for Selection objects in Python programs.
Available methods include: `__init__`.
Public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package.
Properties: `active_cell`, `pane`, `sqref`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `pane` | - | Read/Write | Pane selection is in: 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'. |
| `active_cell` | - | Read/Write | Active cell reference. |
| `sqref` | - | Read/Write | Selected range (space-delimited for multiple ranges). |

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__()` | Calls __init__ on this Selection instance. |

## See Also

- [Aspose.Cells for Python — Enterprise API Reference](https://reference.aspose.com/cells/python-java/)