
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