User Profile
Collapse
Profile Sidebar
Collapse
Ali55555551
Last Activity: Dec 24 '14, 02:59 PM
Joined: Dec 24 '14
Location:
-
I am working on vba PowerPoint. I am new in vba so kindly bear me. I'm trying to capture the active screen using GetAsynKeyState function. And paste it to PowerPoint .Following is the code in which it should work when i press key VK_MENU. -
I am working on vba PowerPoint. I am new in vba so kindly bear me. I'm trying to capt
...Code:Public Declare Function GetAsyncKeyState Lib "user32.dll" (ByVal vKey As Int32) As UShort Sub ScreenOnkey(ByRef Target As Range) Dim index As Integer index = 0 mb = InputBox("You name please") While index <= mb If (GetAsyncKeyState(VK_SNAPSHOT)) Then Sleep 250 keybd_event VK_MENU, 0, 0, 0
No activity results to display
Show More
Leave a comment: