Does anyone know if the following is possible in VBA?
I know you can launch files from the command prompt. For example, I could open a Word file from the command prompt.
But is there a way to programatically send keys to the program??? For example, I could send Ctrl-A and Ctrl-C in VBA and then capture all of the text of the document, and use this in a query or something else.
Thanks for your help
I know you can launch files from the command prompt. For example, I could open a Word file from the command prompt.
But is there a way to programatically send keys to the program??? For example, I could send Ctrl-A and Ctrl-C in VBA and then capture all of the text of the document, and use this in a query or something else.
Thanks for your help