mike22183
Jun 19, 2009, 05:07 PM
Respected Sirs,
Im new to VB :( and desperately in need of this.
I need to distribute loans that are received from different states among agents, in such a way that no single agent receives only one state loan, but the loans(per state) are distributed among all. In case the loans(of a particular state) are lesser than the number of agents, then the loans must be distributed to the agents first in que.
I need a code that will first sort the data as per state code and then distribute each state loans among agents that are specified in the list, in each agents individual sheet. It should also insert the agents name in the master sheet to whom they are assigned.
I should also be able to change the agents names in the list, i.e.. Then names of agents should not be fixed in the vb code.
Thanking in advance. Appreciate your help.
Im new to VB :( and desperately in need of this.
I need to distribute loans that are received from different states among agents, in such a way that no single agent receives only one state loan, but the loans(per state) are distributed among all. In case the loans(of a particular state) are lesser than the number of agents, then the loans must be distributed to the agents first in que.
I need a code that will first sort the data as per state code and then distribute each state loans among agents that are specified in the list, in each agents individual sheet. It should also insert the agents name in the master sheet to whom they are assigned.
I should also be able to change the agents names in the list, i.e.. Then names of agents should not be fixed in the vb code.
Thanking in advance. Appreciate your help.