[dba-Tech] One more thing on Word dropdown field

Bryan Carbonnell carbonnb at gmail.com
Tue Aug 21 04:39:05 CDT 2007


On 8/19/07, Susan Harkins <ssharkins at gmail.com> wrote:
> .Result works, but I was using the wrong syntax -- need ThisDocument instead
> of ActiveDocument.

What I normally do is declare a Word Document object and use that
throughout the code..

dim doc as Word.Document

....

doc.blah_blah = blah

....

doc.blah_blah = blah

etc.

set doc = nothing

-- 
Bryan Carbonnell - carbonnb at gmail.com
Life's journey is not to arrive at the grave safely in a well
preserved body, but rather to skid in sideways, totally worn out,
shouting "What a great ride!"



More information about the dba-Tech mailing list