Option Explicit
Private Declare Function GetKeyState Lib "user32.dll" (ByVal nVirtKey As Long) As Integer
Private Const VK_NUMLOCK As Long = &H90
Private Sub Form_Load()
MsgBox GetKeyState(VK_NUMLOCK) And 1%
End Sub
Сейчас этот форум просматривают: Yandex-бот и гости: 16