After I run my code, when I try to use the toolbar, nothing happens. It
acts as if it's frozen. If I click on the window in the toolbar (which
shuts the active document) and then re-click on the window in the task bar,
my toolbar now is functional again.

How can I programmatically get around this (having to mouse-click off and
then on the active window) after running my code? (Neither
Activedocument.Activate nor Activedocument.Select does it.)

TIA

Re: "activate" Active Document with code by Jean-Guy

Jean-Guy
Mon Aug 01 21:37:26 CDT 2005

zSplash was telling us:
zSplash nous racontait que :

> After I run my code, when I try to use the toolbar, nothing happens.
> It acts as if it's frozen. If I click on the window in the toolbar
> (which shuts the active document) and then re-click on the window in
> the task bar, my toolbar now is functional again.
>
> How can I programmatically get around this (having to mouse-click off
> and then on the active window) after running my code? (Neither
> Activedocument.Activate nor Activedocument.Select does it.)

It might be useful to know what your code does.... and the Word version...


Meanwhile, just a long shot... Have you tried:
ActiveWindow.Activate
or
ActiveWindow.ActivePane.Activate
?
--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org




Re: "activate" Active Document with code by zSplash

zSplash
Tue Aug 02 11:21:12 CDT 2005

Oh, Jean-Guy, you're too good for words. Worked great, and I thank you.

st.

"Jean-Guy Marcil" <no-spam@leaveme.alone> wrote in message
news:%23Wn3eswlFHA.1048@tk2msftngp13.phx.gbl...
> zSplash was telling us:
> zSplash nous racontait que :
>
> > After I run my code, when I try to use the toolbar, nothing happens.
> > It acts as if it's frozen. If I click on the window in the toolbar
> > (which shuts the active document) and then re-click on the window in
> > the task bar, my toolbar now is functional again.
> >
> > How can I programmatically get around this (having to mouse-click off
> > and then on the active window) after running my code? (Neither
> > Activedocument.Activate nor Activedocument.Select does it.)
>
> It might be useful to know what your code does.... and the Word version...
>
>
> Meanwhile, just a long shot... Have you tried:
> ActiveWindow.Activate
> or
> ActiveWindow.ActivePane.Activate
> ?
> --
> Salut!
> _______________________________________
> Jean-Guy Marcil - Word MVP
> jmarcilREMOVE@CAPSsympatico.caTHISTOO
> Word MVP site: http://www.word.mvps.org
>
>
>



Re: "activate" Active Document with code by Jean-Guy

Jean-Guy
Tue Aug 02 12:53:42 CDT 2005

zSplash was telling us:
zSplash nous racontait que :

> Oh, Jean-Guy, you're too good for words. Worked great, and I thank
> you.

Don't mention it.... Now all I have to do is convince my wife of the same...
;-)

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org