copy and paste row if a cell contains

matlad123

New Member
Joined
Jun 6, 2014
Messages
49
Hi

I have tried a variety of things but I keep getting errors, so I think im going start from scratch again. I have a sheet that contains about 3000 registrations from vehicles in column A, I want to find about 4 different registrations. For example purposes A111AAA, A222AAA, A333AAA,A444AAA.

I want to copy the data into sheet 2 starting in row 4. I had a piece of vb that did the copy but kept erroring on the paste section.

I am after it entering the data in the next available row, so when I add more data to sheet 1 and run the code it will just add the new lines in the next available row. I need to leave row 1,2,3 clear.

Thanks
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Sorry, the registration is the data I am looking to get.... I only need to pull the data for 4 vehicles out of about 3000
 
Upvote 0
sorry, they will be specified. if for example purposes use A111AAA i can change to the ones i want later
 
Upvote 0

Forum statistics

Threads
1,215,463
Messages
6,124,962
Members
449,200
Latest member
indiansth

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