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

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
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
Try this:
Code:
Range(FoundAddress).Offset(1, 0).Resize(10, 1).Select
 
Upvote 0
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,214,945
Messages
6,122,397
Members
449,081
Latest member
JAMES KECULAH

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
Back
Top