Hey all,
I have a worksheet event code
which works great.
Well, I want to bypass or stop using it if a specific key is being held down. In this case the arrow keys.
Reason being the arrow keys are used for scrolling through the cells. The scrolling speed is ok but the cursor will seemingly show an hour glass symbol repetitively as if precious computer resources are being used every time a cell jumps from one to another (quite annoying). Is there a way to bypass change event code for as long as the arrow keys are being pressed. Perhaps with an Api?
Ty.
I have a worksheet event code
Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Well, I want to bypass or stop using it if a specific key is being held down. In this case the arrow keys.
Reason being the arrow keys are used for scrolling through the cells. The scrolling speed is ok but the cursor will seemingly show an hour glass symbol repetitively as if precious computer resources are being used every time a cell jumps from one to another (quite annoying). Is there a way to bypass change event code for as long as the arrow keys are being pressed. Perhaps with an Api?
Ty.
Last edited: