
Hi there,
Users are now accessing GP via Citrix and it seems that the Numlock and Caplock keys seem to randomly switch off. I have tried to switch them on in the code by using :-
SendKeys "{NUMLOCK}"
or
CreateObject("WScript.Shell").SendKeys "{NUMLOCK}", True
but this seems to correct the problem in some cases but not others.
Is the code above switching Numlock on or just toggling it?
How can i check if Numlock is actually on or not?
I have tried using GetKeyState but get an error using this function.
What Reference in VBA needs to be ticked to use this?
Any ideas would be greatly appreciated!!
Jo
*This post is locked for comments
I have the same question (0)