Track equipment check-out with a barcode scanner

DTdSSR

New Member
Joined
Oct 25, 2018
Messages
2
Hello,

I am a relatively inexperienced Excel user, but I need to create a workbook that will do something fairly advanced. I will be using Excel 2010 and Windows 7.

Goal: I need to track the check-out and check-in of computer laptops by different users with a bar-code scanner. Each user has an ID card with a unique number, and each laptop has a bar-code with its own number. I would like for each user to scan their card then the laptop to check it out, then just re-scan the laptop when they check it in. It needs to be a fairly automatic process where I can come check the log periodically to see who has which laptop, or who checked which one out a few days prior. It's not unusual for some laptops to be out for a couple weeks while other laptops are being checked out and in daily. To complicate matters, I also can't trust the users to know which cells to highlight when they use the scanner, so I'm hoping that there's a way for the program to know which cells to populate based on whether the machine is being checked out or in (first scan vs second).

The resultant log will look something like this:[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Laptop #[/TD]
[TD]User[/TD]
[TD]Date Out[/TD]
[TD]Date In[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

I will have a list on another tab with the users' ID numbers and their names. I need their actual names to populate the User cells above.

Thank you in advance for considering my problem and any help you can provide will be greatly appreciated.

DT
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
How and where is the output of the scanner stored? if sheet2 has laptop# and user name in col A and B, then sheet1 col B = Vlookup($A1,Sheet2!$A$2:$B$1000,2,false) will pull the user name against their laptop number.
Ravi shankar
 
Upvote 0
ravishankar,

Thanks for the reply. Love your sitar work by the way :)

I was able to get the vlookup function to work for me, and was even able to get relevant dates to populate the correct cells so they won't change every time the workbook is opened or recalculated. So I have a working sheet now, I'm just worried that my greatest point of failure, user input, will be too prevalent since it requires the user to highlight the correct cells for input of data to work correctly. I know my users, they're smart, educated, and lazy as heck. What I'm looking to do may be too much to ask: a macro that automatically directs data input to the correct cell based on when the user scans their ID and laptop, and also doesn't change the date data once a cell has been populated (like it does with the today() or now() functions) every time the sheet recalculates.

Thanks,
DTdSSR
 
Upvote 0

Forum statistics

Threads
1,223,248
Messages
6,171,027
Members
452,374
Latest member
keccles

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top