EXCEL vba :请问这几句话是包含系统库文件的意思么?
在别人的程序里看来的。
Declare Sub keybd_event Lib "user32 " (ByVal bVk As Integer, ByVal bScan As Integer, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)
Declare Sub Sleep Lib "kernel32 " (ByVal dwMilliseconds As Long)
Declare Function MapVirtualKey Lib "user32 " Alias "MapVirtualKeyA " (ByVal wCode As Long, ByVal wMapType As Long) As Long
[解决办法]
keybd_event,MapVirtualKey,Sleep是三个API函数,
这三句是调用这几个API的声明