With the assistance of a few people I was able to get a userform that will help me record employee data. I was wondering if using code I would able to perform another task from the data obtained from the userform.
Just for an example, let say I have 200 employees, and I have to enter their data one by one into this userform. I want to install a way to "check" and make sure I do not forget someone.
So after using the userform, can I have it put the employee information into another sheet.
So if I have the Name List going down in column A, then in Column B would be January 1, in Column C would be January 2, in Column D would be January 3, etc.
Once I enter information in the userform, that enters the data into the rData, is there a way using code to then add the sum of the hour field for that person, and enter it into the worksheet Attendance, to the field that corresponds to the date and name of the person entered. I know I can use a pivot table to get this data, but I figured if I could get something quicker to show a calculation so I know if I need to also recheck that employee.
I am sure I could enter a bunch of formulas on that worksheet to do that task, but I was curious if it is possible to do this with code?
I was then wondering if this is possible, could I use a conditional formatting to highlight the field red if there is no data entered, but only once that date is current, so that I can see if I missed someone, easily? I dont want to see a sheet that is entirely red, because it is in the future.
Also if this is possible can you help show me the logic in the code, I am just learning about code, and I really want to pick this up myself.
Bookmarks