Hi guys!
I really need your help regarding extracting data from a certain sheet to another sheet using VB. There is an excel file that contains the name, date, timetable or schedule, the log-in, the log-out and the ATT_Time of the employees. I attach the excel file here with filename sampleattendance. Mainworksheet is the name of the sheet which contains the data.
What I need to do is the name, date, timetable, log-in and log-out and the ATT_Time of every employee should be extracted on different worksheets which means every employee has a worksheet which contains all the data from the main worksheet. The format of the new worksheet for every employee is on sheet2. The data should be extracted on columns N13, 0O13, P13, Q13,R13,S13.
After it has been extracted, the log.in and log out per date should be extracted also on the table found on every employee's sheet.
Below are the bases on where to put the log-in and log-out.
For Morning:
7-3; 9-6 ; 6-2; 4:30am-12:30pm ; 8:30am-5:30pm; 5am-1pm
For Afternoon:
12:30pm-8:30pm ; 4pm-12am; 2-10
For Evening:
8:30pm-4:30am; 10-6; 9pm-5am
I really hope you can help me on this. If you have confusions regarding my problem, just ask me. Thank you so much. sampleattendance.xlsx
Bookmarks