.Activate method not working

S

spyd3r

One of my users recently upgraded to Word 2003, and the
Documents(index).Activate method does not seem to be working on their
computer. Though it works on other users' computers, those with Word 2003
and Word 2000...

When the .Activate method is used on this user's computer, the selected
document is brought to the front of the window order, but the ActiveDocument
does not change. The ActiveDocument object continues to point to whatever
was the active document before the .Activate command was used.

Anyone know what could be causing this? Or should I just get to work on
eliminating the .Activate command from my code?

Thanks
 
J

Jezebel

Better (and easier) to eliminate the references to ActiveDocument. There is
a known bug with it anyway -- as you observe, it doesn't always point to the
right document. Use explicit document variables instead.
 
S

spyd3r

That's what I figured. It's just old code that I really don't want to bother
with, but I guess I'll have to, hehe. It's just odd that just this one
station consistently has problems, so I thought there might be some weird
setting somewhere.

Thanks.
 

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

Top