Question : Can I use the SendKeys command in Excel VBA to interact with other applications other that Microsoft Office?

I am in the middle of a macro that performs several different functions one of them runs a .bat file that then opens a program that requires me to sign into. Is there a way to make that program an Object so I can use the macro and Sendkeys (or something similar) commands to sign in automatically?

Answer : Can I use the SendKeys command in Excel VBA to interact with other applications other that Microsoft Office?

This code is for VBA within Excel, not for Visual Basic 6.5.  In your question you asked for VBA and not VB, there is a difference.

Please close this question by accepting this comment 33039684 as it answers the original question posted and re-open a new question specifying a VB 6.5 solution and not a VBA solution.
Random Solutions  
 
programming4us programming4us