find copy and paste

Np72

Board Regular
Joined
Dec 22, 2010
Messages
108
Hi,
IS there anyway that excel will find text , copy this and place in a difference worksheet

From my results page I'm looking to find the text "check Disclosure" in Col K and copy the whole row into a another worksheet labelled front. Check disclosure appears multiple times in the work sheet
:(
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Advanced Filter will do this in one operation. You need to set up criteria for column K before processing. Have you used Advanced Filter before? Does this sound like an acceptable solution?
 
Upvote 0
I generally have my criteria in a separate sheet, and in your case put the heading from column K of the data into cell A1, and the value

check Disclosure

into cell A2.

Into a third sheet copy the headers from the data.

Then use this macro:
Code:
Sub MyFilter()
    Sheets("Data").Range("A1:M25").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Worksheets("MyCrit").Range( _
        "A1:A2"), CopyToRange:=Worksheets("MyResults").Range("A1:M1"), Unique:=False
    Worksheets("MyResults").Activate
End Sub
... changing the sheet names and ranges to suit.
 
Upvote 0

Forum statistics

Threads
1,224,612
Messages
6,179,887
Members
452,948
Latest member
Dupuhini

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