Code: Select all
Set WshShell = CreateObject("WScript.Shell")
WshShell.sendkeys "^r"
WshShell.Sleep 1000 'this statement causes an error
WshShell.sendkeys "{DOWN}"
Object doesn't support this method: wshshell.sleep
Pls help
Wolfram
Moderators: Gurus, Addon Administrators
Code: Select all
Set WshShell = CreateObject("WScript.Shell")
WshShell.sendkeys "^r"
WshShell.Sleep 1000 'this statement causes an error
WshShell.sendkeys "{DOWN}"