macro code for search one functional code in entire column and copy paste all other data into another sheet

devika

New Member
Joined
Feb 15, 2018
Messages
1
hello

i have tried macro for,the following thing.

"list of codes" is a one excel book contains 16subject codes.
"data file" is another excel file..it has 25 columns of data students data.like name ,id number,colege name,doj ,dob,area ,subject code,,etc.,;
"imp details" is a new book


Here , i need to select subject code from "list of codes " excel Book...and select the no of students who are having the particular subject code..if there is 1 or more students with the same sub code..copy them and paste in new excel named "imp details" ..
i have tried a macro but failed bocz the macro not taking total no of sub codes in list of codes excel book.

pls give me the corect one..

thank you!
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Forum statistics

Threads
1,223,902
Messages
6,175,278
Members
452,629
Latest member
SahilPolekar

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