happyhungarian
Active Member
- Joined
- Jul 19, 2011
- Messages
- 252
- Office Version
- 365
- Platform
- Windows
Hi,
I need help building a code that will pull certain data from a list and insert it onto another tab within a certain range of cells. Example: I have a list of employees with their department numbers. I need to be able to have a macro that will split the employees up based upon their departments and insert them onto seperate, specified tabs. Also, I need the range in which they are inserted to be able to expand if the number of employees is greater than the range (i.e. I need the employees names to land between cells C20 and C65. If there are more than 45 employees (65-20), I need the macro to insert rows between C20 and C65 in order to have room for the list of names. I hope that made sense.
Thank you all in advance for your help,
Jesse
I need help building a code that will pull certain data from a list and insert it onto another tab within a certain range of cells. Example: I have a list of employees with their department numbers. I need to be able to have a macro that will split the employees up based upon their departments and insert them onto seperate, specified tabs. Also, I need the range in which they are inserted to be able to expand if the number of employees is greater than the range (i.e. I need the employees names to land between cells C20 and C65. If there are more than 45 employees (65-20), I need the macro to insert rows between C20 and C65 in order to have room for the list of names. I hope that made sense.
Thank you all in advance for your help,
Jesse