Copying Row based on text in a Cell

Bob Folks

Board Regular
Joined
Jun 25, 2015
Messages
70
Hi

I am new to this Forum but look forward to many productive hours here.

I was hoping someone could help me I recuire a Macro to look at data from a Data Dump and cut the whole row and paste it onto a new sheet when the cell of that row in column "K" = [TBS]. I sure this can be done but I just cant work it out.

Any Assistance would be greatfullt apretiated.

Cheers

Bob
 
Maybe this
Code:
Sub MM1()
With Columns("K")
    .AutoFilter field:=1, Criteria1:="[TBS]"
    .Resize(Rows.Count - 1).EntireRow.Copy Destination:=Sheets("TBS").Range("A1")
    .AutoFilter
End With
End Sub
 
Upvote 0

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Forum statistics

Threads
1,216,001
Messages
6,128,213
Members
449,435
Latest member
Jahmia0616

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