Please bear with me as I explain what I have going on, thank you.
I have a workbook with multiple tabs:
Master tab includes employee information such as ID, name, a barcode, issue/expiration date, and a revoked column.
I have tabs for each week of the month which have Time In/Time Out, Name and Revoked
The plan for this is the employees have a badge with various bits of info including the barcode that has been generated from the Master spreadsheet. When the employee arrives to the work site, the correct weekly tab is open and the first or next open Name cell is active. When the employee's badge is scanned, it will populate the date and time in or out as well as their name. If an employee has been terminated or their badge has been revoked, the "Revoked" cell in the row with their information has been set to "YES".
Here's where the funky part is that I cannot figure out...
What I want to happen is the badge is scanned, it looks for that barcode on the Master sheet, then checks to see if the Revoked cell is set to "YES", if so, I need a message box to appear informing the person scanning that the worker is not authorized onto the work site and to confiscate the badge. Once this has been done, they click OK and the same empty cell is active since it was not populated by a valid scanned badge.
Master sheet info:
Column A = Employee ID Number
Column B = Employee Name
Column C = Auto-generated code 128 barcode
Column J = Revocation YES or NO
Week 1 Attendance sheet info:
Column A = Time In/ Time Out
Column B = Employee Name
Column C = Badge Revoked
I stand by to clarify anything I've muddled and thank you very much!
I have a workbook with multiple tabs:
Master tab includes employee information such as ID, name, a barcode, issue/expiration date, and a revoked column.
I have tabs for each week of the month which have Time In/Time Out, Name and Revoked
The plan for this is the employees have a badge with various bits of info including the barcode that has been generated from the Master spreadsheet. When the employee arrives to the work site, the correct weekly tab is open and the first or next open Name cell is active. When the employee's badge is scanned, it will populate the date and time in or out as well as their name. If an employee has been terminated or their badge has been revoked, the "Revoked" cell in the row with their information has been set to "YES".
Here's where the funky part is that I cannot figure out...
What I want to happen is the badge is scanned, it looks for that barcode on the Master sheet, then checks to see if the Revoked cell is set to "YES", if so, I need a message box to appear informing the person scanning that the worker is not authorized onto the work site and to confiscate the badge. Once this has been done, they click OK and the same empty cell is active since it was not populated by a valid scanned badge.
Master sheet info:
Column A = Employee ID Number
Column B = Employee Name
Column C = Auto-generated code 128 barcode
Column J = Revocation YES or NO
Week 1 Attendance sheet info:
Column A = Time In/ Time Out
Column B = Employee Name
Column C = Badge Revoked
I stand by to clarify anything I've muddled and thank you very much!