Is there any way to detect the last key pressed in a worksheet? I would like to put some code inside a Worksheet.SelectionChange sub to ascertain whether the user pressed Enter, Tab, Left/Right/Up/Down arrows, or clicked on the newly selected cell with a mouse. I see that there are mechanisms to detect KeyPress etc on a form, but I want to detect keystrokes on an Excel worksheet.
Any advice appreciated.
Steve
Any advice appreciated.
Steve