Question : SENDKEY for windows startup menu??

Hi Experts,
Can someone please provide me the VBA SENDKEY code so I can open up my "WINDOWS START MENU"?  

I have looked every where and nothing seems to work.

THANK YOU!!
Attachments:
 
PRINTSCREEN OF ACTIVATED WINDOW KEY
 

Answer : SENDKEY for windows startup menu??

You could remove the private. That was just an example. But you need to have the Private Declare at the top of that module.


1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
Private Declare Sub keybd_event Lib "user32.dll" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, _
ByVal dwExtraInfo As Long)

Const VK_STARTKEY = &H5B
Const KEYEVENTF_KEYUP = &H2

Sub getstart()
    'WinKey down
    keybd_event VK_STARTKEY, 0, 0, 0
    'WinKey up
    keybd_event VK_STARTKEY, 0, KEYEVENTF_KEYUP, 0
End Sub
Random Solutions  
 
programming4us programming4us