1. setting them as DOCVARIABLES will work for each document, but not for ANY
document.
2. if you want the variables toi be accessible to Word, while you are action
Word FROM Access, then you can simply use them as Public variables in Access.
However, if I understand correctly, you want to set a variable value, from
Access, and then be able to open Word and have those variables accessible...
even if you close Access. Correct?
In other words, you are using Access to see a value to a variable, but you
are NOT dependent on Access for getting those values (after they are set).
In which case, I am with the idea of setting the values in an INI file. Word
can read the INI file. They can be used by any document, not just
activedocument.
[quoted text clipped - 6 lines]
those values in Word throughout the session, even if I left the
ActiveDocument.
After starting Word, your code in Word can perhaps automate your already
open instance of Access and ask it for the data you want through the
Application.Run() method of Access.
- Chirag
PowerShow - View multiple PowerPoint slide shows simultaneously
http://officeone.mvps.org/powershow/powershow.html