Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel: Set range object = Top-left cell in named range? 1

Status
Not open for further replies.

VBAjedi

Programmer
Dec 12, 2002
1,197
KH
This should be easy:

What is the code syntax to set a range object (FirstCell) to refer to the top-left cell in MyRange?

Thanks!
VBAjedi [swords]
 
I don't have time to test this (going to lunch) but this should be something like what you need:
Code:
  Set rng = MyRange.Cells(1,1)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top