I work in a manufacturing environment and we use vba macros in excel spreadsheets on a laptop to log completion times when we finish up a process.
I'm looking for a physical button that can be pressed to trigger the macro instead, that way we can have the laptop somewhere else and also should be easier to press a button rather than a keyboard shortcut (among other things).
Here's what I'm looking for in my button:
- Momentary and not toggle---One of the buttons I tried out clicked in, but then had to be unclicked.
- Bluetooth would be preferred over a USB connection, but not required.
- Needs to trigger a customizable keyboard shortcut (ctrl+a, ctrl+shift+k, etc) to run a macro inside of excel
I tried a device from espruino called puck.js v2. It's a bluetooth button that runs javascript, but it runs off of javascript and I don't know how I could make that run a keyboard shortcut for the macro.