selecting range after finding address

nicbrez

New Member
Joined
Feb 21, 2006
Messages
27
I have found the address of a cell with a value I am searching for and stored it in a variable called FoundAddress.

What is the easist way of then selecting a range of the 10 rows below this address and copying them into another sheet?

Cheers

Nic
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

brian.wethington

Well-known Member
Joined
Jul 20, 2006
Messages
1,739
Could you post the code in question. I would say it is best to find a cells range then if the range is found use that range to dynamically set up your following range however, it is highly unlikely that you would need to select a range to copy, and then paste the range elsewhere.
 
Upvote 0

Lewiy

Well-known Member
Joined
Jan 5, 2007
Messages
4,284
Try this:
Code:
Range(FoundAddress).Offset(1, 0).Resize(10, 1).Select
 
Upvote 0

Lewiy

Well-known Member
Joined
Jan 5, 2007
Messages
4,284
Or to copy it to Sheet 2 column A:
Code:
Range(FoundAddress).Offset(1, 0).Resize(10, 1).Copy Destination:=Sheets("Sheet2").Range("A1")
 
Upvote 0

Forum statistics

Threads
1,191,092
Messages
5,984,634
Members
439,896
Latest member
SquareCare

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top