I don't know if what I'm needing can be done, but it's worth a forum posting. I'm trying to control whether a macro gets run in a checkbox or not. Right now if I click the checkbox, it runs a macro. That part works great. What I'm trying to do is not run the macro if the checkbox was tabbed to.
Is there a way to interrogate the last key entered once inside the macro? That way I could just check to see if the last key presses was a tab, and just exit out of the macro.
Please help if you know how to do this, or if it's even possible.
Darryl