Answers for "vbnet exectue key presses"

VBA
0

vbnet exectue key presses

Dim Thread as Thread

        Application.DoEvents()

        Thread = New Thread(AddressOf ThreadTask)
        Thread.IsBackground = True
        Thread.Start()

Private Sub ThreadTask()

        Thread.Sleep(100)
        SendKeys.SendWait("{TAB}")
        Thread.Sleep(10)
        SendKeys.SendWait("{ENTER}")
        
End Sub
Posted by: Guest on October-06-2021

Code answers related to "vbnet exectue key presses"

Code answers related to "VBA"

Browse Popular Code Answers by Language