Determine if OLE server is done

P

Patti Kaich

I have a form on which there is a control that is bound to
an OLE Object. This control is normal not visible. In
order to create or edit the control, it must be visible,
so I do that in my VBA code before the OLE server (in this
case Word) is activated. What I'd like to do is reset the
control to be not visible after editing the object in Word
(because you can't set the control to be not visible if it
has the focus). I just can't find a way to determine
whether or not Word has been closed so that I could then
move the focus off my control and set its visible property
to false.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top