Hello all,
I am trying to perform a SendKey function that will paste the contents of my clipboard into a cmd window.
I know for sure that the following keystrokes will accomplish this:
Hold ALT then click SPACE
Then "e"
Then "p"
The problem is I cannot figure out how to translate this combination of ALT and SPACE into a usable SendKey, and it's driving me nuts.
The character string of:
Application.SendKeys (" ")
successfully executes a spacebar stroke, but I cannot figure out how to combine it with ALT.
I know that ALT is represented by "%"
I have tried:
Application.SendKeys %(" ")
Application.SendKeys "e", True
Application.SendKeys "p", True
But I get a Compile error: Invalid character
I also tried:
Application.SendKeys "%(" ")"
Application.SendKeys "e", True
Application.SendKeys "p", True
But I get a Expected:end of statement error
Any help would be appreciated!!
Thanks
Bookmarks