Activating documents not as easy as it should be 
Author Message
 Activating documents not as easy as it should be

At several occasions I've had problems to make documents active for a longer
period of time.
"Documents(myDoc).Activate" works fine until I open a user form. Then Word,
for some reason, switches back to the document that was active prior to my
activation. What's wrong ???

/BosseH



Sun, 30 Jan 2005 18:28:52 GMT  
 Activating documents not as easy as it should be
Are you using Word 2000 or Word 2002?
If so, you likely need to rewrite your code to handle the activation
sequence.

See http://www.standards.com/OhMyWord/VBACodeSnippets.html for an example
that may address part of your problem (tested in Word 2000, not yet in Word
2002).

--
http://www.standards.com/; Programming and support for  Word macros,
including converting from WordBasic to VBA; Technical reviewing; Standards;
Product functional/design/specifications
------------------------------------------------

Quote:

> At several occasions I've had problems to make documents active for a
longer
> period of time.
> "Documents(myDoc).Activate" works fine until I open a user form. Then
Word,
> for some reason, switches back to the document that was active prior to my
> activation. What's wrong ???

> /BosseH



Mon, 31 Jan 2005 03:24:54 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. I am trying to update a record, i am not using data control

2. I am trying to update a record, i am not using data control

3. easy filecopy question...but maybe not so easy

4. What am I doing wrong (easy).

5. Am I missing something incredibly easy?

6. EASY QUESTION but i am a newbie

7. Regular expression - It should be easy, but I am having a bad time

8. Easy for you...I am lost!

9. Easy for you...I am lost!

10. Easy for you...I am lost!

11. Easy way to see if I am connected to network

12. Activating a Word document from a table field in code

 

 
Powered by phpBB® Forum Software