Jump to content
Sign in to follow this  

Send keystrokes to hidden window and execute with parameters

Recommended Posts

I have a script that creates an Excel object with objCreate, runs a macro, saves & closes the Excel object.

I don't want the new Excel object to be visible but I need to send a few keystrokes to the hidden Excel object.

How do I do that?

When the code is completed I want to compile it to exe. When executed via a command line, I need a parameter (the workbook path) to be sent to the exe.

Is this possible?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...