Hi guys,
First of all, this is my first post, so please bare with me.
I am creating an excel file which will allow contractors to punch in their unique 4 digit contractor ID to log in at the start of their shift (which will automatically record the date and time that they log in) and then records the time that they log out when they put in their 4 digit ID and click on the "Logout" button.
I think I have the "logging in" section working ok. My problem is the "logging out".
Because the contractors will not log out in the same order that they logged in and a lot of shifts will overlap, I need a macro to put the logout time of a contractor with a specific ID next to where they logged in when they click on the logout button (... I hope that makes sense...).
I have attached an example of the file so that it makes more sense. contractors.xlsm
You will also probably notice that I am quite new to VBE - most of what I know I taught myself from reading through these forums. It seems to me that even though my macros do what I want them to do, they are really long and winded, I think there would be an easier and shorter way to get them to do what I want them to do - and I know that the shorter your macro is the better, so any tips or advice while looking at my file would be greatly appreciated!
Thanking you all in advance!!
Bookmarks