VBA code to add new entries to another sheet

ajaf123

New Member
Joined
Apr 19, 2015
Messages
33
Hello. I have multiple sheets which are all consolidated in one sheet. Now i want to add some more data to some sheets. Each entry is with a unique ID which is in increasing order. i want a macro that would look for ID in individual sheets and if a particular entry is not in compiled sheet then copy that row and paste it according to serial number in compiled sheet. So for example if ID '4' and '6' are already there in compliled sheeet with no rows empty in between.Now if i add any data in column next to ID 5 in individual sheets, I want the macro to add two rows after ID 4 compiled sheet and copy entire rows containing ID 5. ID appears in column F in all sheets. Please help.
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,203,490
Messages
6,055,725
Members
444,814
Latest member
AutomateDifficulty

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