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

How do I select an undefined range of cells in Excel 2

Status
Not open for further replies.

Jamie2002

Technical User
Sep 17, 2001
62
GB
I want to write code to goto cell 114

Then select (as if you where holding down shift) end down, and end right, then go back up 1 line.

In english I want to select a block of data, of differing length, which always starts as cell c114, and once selected unselect the bottom 1 line.

Thanks.
 
Try '

Range([I14], [I14].End(xlDown).Offset(-1, 0)).Select


AC
 
AC,

Useful contribution !!! ...and DESERVES more than a "Thanks".

...Dale Watson dwatson@bsi.gov.mb.ca
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top