Garry W
Garry W

Reputation: 311

How to select a column next to a named range?

enter image description here

The red range is called theRange. How do I select the yellow range using VBA code?

Upvotes: 0

Views: 133

Answers (1)

JNevill
JNevill

Reputation: 50034

You can use the .Offset(<rows>, <columns>) method of the Range object to do this:

Range("theRange").Offset(,1).Select

Upvotes: 2

Related Questions