What is the Range object in Google Sheets?

Excel's Range object represents cells you read or write in VBA. Apps Script uses Range too, returned by spreadsheet.getRange(), getActiveRange(), or getRangeByName(). Methods like getValue, setValues, and getValues map closely to common VBA Range calls.

When to use it

Use getRange patterns when porting VBA that loops through cells or resizes destinations.

When to skip it

Skip row-by-row loops when one array formula or setValues on a 2D array is faster.

Better Sheets resources

Related Tutorials

Watch how Range object works

Browse more tutorials
Google Sheets Error: Unknown Range Name and How to Fix it

Google Sheets Error: Unknown Range Name and How to Fix it

Unknown Range Name means we've typed in a formula the wrong format of a ...

Related glossary terms

Done reading about Range object?

Membership unlocks 637+ tutorials, unlimited generators, and every template. Practical lessons. Zero fluff.

Need this once

Jump to a free tool or a single tutorial for this topic.

Learning Sheets for real

Unlock the full library, generators, and templates with membership.