code to copy row and sheets to different workbook.

coxycoxycoxy

Board Regular
Joined
Apr 22, 2009
Messages
165
Hi all

can anyone help with the following:

I need to construct a piece of code to do the following.

search column "I" in sheet named "CONTROL.SHEET" for zero values.
if column "I" has a zero value paste that entire row to a different workbook. called "ZERO STOCK ITEMS" SHEET. STARTING IN "B4".

Here is the catch i also need it to copy the work sheet named in column "C" of the zero valued row. all the names in column "C" match the worksheet names.

I Hope some one can help

Best regards.

Mark
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,224,561
Messages
6,179,521
Members
452,923
Latest member
JackiG

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