Hi,
I am trying to write some code that will go through all the data in sheet2 starting on row 5 which looks at all the employee numbers and then finds only the latest entry for each employee and then copies the date for that employee (columns B:J) to the next blank row on sheet5 starting in cell B5. The employee numbers are in column D and the dates are in column B
There may be several entries for each employee but I only want to get the data for the most recent entry which can be found from the date in column B
Any help would be great as I am stuck
Regards,
I am trying to write some code that will go through all the data in sheet2 starting on row 5 which looks at all the employee numbers and then finds only the latest entry for each employee and then copies the date for that employee (columns B:J) to the next blank row on sheet5 starting in cell B5. The employee numbers are in column D and the dates are in column B
There may be several entries for each employee but I only want to get the data for the most recent entry which can be found from the date in column B
Any help would be great as I am stuck
Regards,