Hi,
Const VK_NUMLOCK = &H90
Declare Function GetKeyState Lib "user32" Alias "GetKeyState" (ByVal
nVirtKey As Integer) As Short
If GetKeyState(VK_NUMLOCK) Then
Me.Text = "Num"
Else
Me.Text = ""
End If
Ken
----------------
"Woody Splawn" <wo***@splawns.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Could someone tell me what code I run to determine if the user's numlock
is on?
Is there code I can run to set the numlock to on?