Chapter 3
Referring to ranges
In this chapter, you will:
Learn how to reference the
Range
objectReference ranges in other sheets
Reference a range relative to another range
Use the
Cells
property to select a rangeUse the
Offset
property to refer to a rangeUse the
Resize
property to change the size of a rangeUse the
Columns
andRows
properties to specify a rangeUse the
Union
method to join multiple rangesUse the
Intersect
method to create a new range from overlapping rangesUse the
IsEmpty
function to check whether a cell is emptyUse the
CurrentRegion
property to select a data rangeUse the
SpecialCells
property to interact with specific cells in a rangeUse the
Areas
collection to return a noncontiguous rangeLearn the syntax used for ...
Get Microsoft Excel VBA and Macros (Office 2021 and Microsoft 365) now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.