In Sheet1 I have audit reports.
In sheet2 I have EMP Names and number of audit to be allot.
In sheet3 the audit report numbers to be pasted under each EMP Name randomly picking from sheet1.
It is like, the macro should got to sheet3 first and take one emp name, search the emp name in sheet2 and check how many audits to be allotted to that emp then go to sheet1 copy the audit number and at the same time it should written next to audit number column "Assigned".
Can anyone please help me by solving the problem using VBA. I am attaching the excel sheet for reference.
In sheet2 I have EMP Names and number of audit to be allot.
In sheet3 the audit report numbers to be pasted under each EMP Name randomly picking from sheet1.
It is like, the macro should got to sheet3 first and take one emp name, search the emp name in sheet2 and check how many audits to be allotted to that emp then go to sheet1 copy the audit number and at the same time it should written next to audit number column "Assigned".
Can anyone please help me by solving the problem using VBA. I am attaching the excel sheet for reference.
Attachments
Last edited by a moderator: