I am looking for a VB script to send the following keyboard commands:
Ctrl+w
If anyone can assist me I would greatly appreciate it. Thanks!
I am looking for a VB script to send the following keyboard commands:
Ctrl+w
If anyone can assist me I would greatly appreciate it. Thanks!
Have a look at the SendKeys function:
SendKeys "^w", True ' ^ indicates holding 'Ctrl', second parameter is 'Wait'
More resources:
Using AppActivate and Sendkeys in VBA shell command
http://msdn.microsoft.com/en-us/library/office/aa202943%28v=office.10%29.aspx