Heres a different one to have a look at.
We have used an IPAC controller at work to connect the counters from 4 injection molding machines to a PC.
We are looking for a cheap and easy solution and after building my cabinet I had some ideas.
What I am trying to do is use the simulated key presses from the IPAC to record how many parts each machine has made. As we already use excel for a lot of our planning we would like each keypress to increase the value in a particular excel cell by 1.
EG CELL A1 value increase by 1 each time the "s" key is pressed.
CELL B1 value increase by 1 each time the "a" key is pressed.
This needs to run continuously and perhaps have an easy way of reseting any of the cells to 0
Unfortunately I spent too much time playing arcade games as a kid and not enough learning skills like excel / vba programming.

We are only a small company and do not have an IT department that we can rely on. I have asked around elsewhere and someone did give me the following VBA solution but my skills dont extend far enough to implement it....
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.OnKey "a", ""
Application.OnKey "s", ""
Application.OnKey "d", ""
Application.OnKey "f", ""
End Sub
Private Sub Workbook_Open()
Application.OnKey "a", "AddOne"
Application.OnKey "s", "AddOne"
Application.OnKey "d", "AddOne"
Application.OnKey "f", "Addone"
End Sub
Then this in standard module
Sub AddOne()
Sheet1.Range("A1").Value = Sheet1.Range("a1").Value + 1
End Sub
I am taking a shot that there is someone here who can see what I am trying to do and could perhaps help me out or point me in a direction of people who could.
Hey if someone could sort it for me I am sure we could work out some $ for them.
Sorry for the OT . Jim