Hello:
At the end of my posting, here, is my VBA code. I'm trying to tell GP 2013 R2 (12.00.1920) to press "Ctrl+O", after a certain window opens. So, I'm using "SendKeys".
Although I receive no error, "Ctrl+O" does not happen.
I have tried using this code on several events, including "AfterOpen()". But, the keyboard combination of "Ctrl+O" like I said just isn't happening.
Yes, this is for accessing the "View" menu in the window, in order to allow for the "Originating" currency selection to be selected by default, when the user opens the window.
The Currency Button that normally accomplishes the same thing is not in this window. That's why I'm trying to get VBA to use keystrokes.
Any ideas?
Thanks!
John
Private Sub Window_AfterOpen()
SendKeys "^{O}"
End Sub