Macro to Compare and copy info based on a serial Number

Status
Not open for further replies.

Bennyton

New Member
Joined
Apr 13, 2011
Messages
20
Hi all

I have a little bit of trouble with a macro.

I have 3 worksheets.

1 is a list of products in "Stop Mode"
2 is a list of products that are in "Go mode"
3 is a list of serials and next to them are definitions saying STOP and GO...

so what I want to do, is run a macro that will check worksheet 3,

so that IF column b has a value of "STOP",

then it will get the the serial next to it in column A,

and search through worksheet 2,

when it finds its match, it will cut that row,

and paste it at the bottom of worksheet 1.

it will then loop again to do the next one.... so the next one in worksheet 3 with a STOP Value.


It's rattling my brain at the moment, thanks for your help.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Status
Not open for further replies.

Forum statistics

Threads
1,224,521
Messages
6,179,289
Members
452,902
Latest member
Knuddeluff

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