Copy row if value found in column "A" matches and paste to a different workbook.

molonlabe

New Member
Joined
Sep 7, 2016
Messages
17
I need to copy a row from one workbook/worksheet to another workbook/worksheet based on the value in column "A". I have tried a dozen different codes I found online and have been unsuccessful in figuring it out. No clue where I went wrong.

I need every row with "Jane" in column A in workbook1 to copy to workbook2("A5"). Jane may not be grouped together in column A, so it will have to search the entire column, or sort it.

After doing this, I will do the same thing for "Billy" but the source would be workbook3.

Sheet name on all = "Audit Tracker"
workbook1 = Jane's Tracker
workbook2 = taylorsm's tracker
workbook3 = Billy's Tracker
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
I am working on something, but I receive a Invalid or unqualified error on

Set aRng = a.Sheets("Audit Tracker").Range("$A$4:A" & ws.Cells(ws.Rows.Count, "a").End(xlUp).Row).AutoFilter
.AutoFilter Field:=1, Criteria1:="Jane"

How can I get that to work?
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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