Jump to content
Macro Express Forums

Activated window doesn't appear


Eg6Xpm18cs

Recommended Posts

Hi all,

 

I can't get a document (Word) to come out of its minimized state by using various combinations of the activate, window maximize, and wait for window commands, plus delays, double commands, and assigning control to the window followed by a click on the control. It's as if the window is stuck minimized.

 

The program item on the Start bar shows it to be activated (button depressed) and data gets successfully pasted to the Word doc, but the document doesn't "wake up". I want to see what's being pasted without having to manually click the program item to bring up the window.

 

Thanks for any suggestions or workarounds.

Link to comment
Share on other sites

I suggest that you start again from scratch.

I can't bring myself to do that because the macro is long and works reliably in all other respects.

 

I did find a straightforward way to activate the document: Assign control to the doc then Set Focus to it. I got hung up thinking I needed to click on the control, so missed the obvious.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...