---
title: "expand_range"
---

[< Back to Reference](../reference.qmd) | [View source](https://codeberg.org/usrbinr/tidychain/src/branch/main/R/extract_formulas.R#L130)

# `expand_range()`

Expand Cell Ranges to Individual Cells

## Usage

```r
expand_range(range)
```

## Arguments

| Argument | Description |
|----------|-------------|
| `range` | A cell range string (e.g., "A1:B3"). |

## Value

A character vector of individual cell references.

## Description

Expands a cell range like "A1:A10" into individual cell references.

## Examples

```r
expand_range("A1:A3")
#> [1] "A1" "A2" "A3"

expand_range("A1:B2")
#> [1] "A1" "A2" "B1" "B2"
```

