copy of complete row using vba

hipo

New Member
Joined
Mar 26, 2009
Messages
1
Hi,
I have excel file that contain 8 sheets,
in each sheet there is cell that contains "serial number" (cell B)
i need a vba , that will be able to go through all the sheets, and search for the specific serial number and copy the whole row to new sheet according to that serial number

after it copy the first row from the first sheet it should move to the next sheet look for that same number and copy it to the end of the same row from the first sheet. and so on and on till it finish all the 8 sheets and i get at the 9 th sheet the values in one long row


(i know its not good for vba, but maybe it will give more clear view to understand what i need- i have it in ny mind as : if at sheet1 cell B contain 1 copy the whole row to 9th sheet, row 1, then if sheet2 cell b contain 1, copy it to the end of row 1 at sheet 9 and so on..)

then i need it to go automaticly from serial number 1 to 1,000,000

if anyone have idea how i might do that please help.
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Forum statistics

Threads
1,215,061
Messages
6,122,921
Members
449,094
Latest member
teemeren

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