Bryan Carbonnell
carbonnb at gmail.com
Tue Aug 21 04:40:18 CDT 2007
oops forgot one line.... On 8/21/07, Bryan Carbonnell <carbonnb at gmail.com> wrote: > 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 Set doc = ActiveDocument ' or ThisDocument > .... > > 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!" > -- 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!"