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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Range Function

Status
Not open for further replies.

Bass71

MIS
Jun 21, 2001
79
Thanks for the info, it was most helpful. However, I am looking to highlight the rest of the sheet to the right and downward from a given cell in the A column.

Basically, it is the equivalent of <ctl> <shft> Right arrow, Down Arrow.

Is this code valid:::

Range(ActiveCell, ActiveCell.End(xlDown), ActiveCell.End(xlToRight)).Select


Thanks
 
Close, I think what you want is this:

Range(ActiveCell.End(xlDown), ActiveCell.End(xlToRight)).Select

You can select a range either down and over or over and down. Shouldn't matter if the data is rectangular. If not then things could get a bit more complicated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top