I have the following code:
Workbooks.Open "C:\ABNLookUp.xls"
:
Application.Run "ABNLookUp.xls!ABRPublicLookup"
Application.SendKeys "{ENTER}"
I open a Government developed and protected spreadsheet and then run
its main (or only??) macro. This works. A tabbed form opens in
"ABNLookUp" starting the macro. The tabbed form has a "Start/Exit"
choice with "Start" highlighted. Hitting the "Enter" key starts the
application. So I code:
Application.SendKeys "{ENTER}"
This does not work. Nothing starts. My macro finishes execution.
I have never had any luck with "Sendkeys". Does anybody know how to use
them reliably? I thank you now for any advice.
(By the way, Excel Help, just out of the blue only late this afternoon,
is not letting me enter my queries because the cursor has turned into
this- "<-->". If anyone has any thoughts as to why I should be punished
this way I'd be glad to hear them. Am I "cursed" or "cursored"? Why has
it turned to custard? What have I done and can I undo it?).
Bookmarks