Sign in to follow this  
Followers 0
DaLiMan

ControlSend and Close Excel

3 posts in this topic

Is this a known problem?

I use controlsend to send keystrokes to a hidden Excel book.

But when I try to close it, it don't work.

I use:

ControlSend("Microsoft Excel", "", "", "!{F4}")

Is there another way?

I also tried ControlSendPlus from PEKSTER.

Share this post


Link to post
Share on other sites



WinClose("Microsoft Excel")

Share this post


Link to post
Share on other sites

WinClose("Microsoft Excel")

<{POST_SNAPBACK}>

Didn't know this worked with Hidden windows as well. :)

Thanx, this makes it all a lot easier.

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  
Followers 0