> Hi.
>
[quoted text clipped - 31 lines]
>
> Gina
JaRa
BIG BIG :))) Thanks
took your Dim wrd As New Word.Application
and replaced all my GetObject(Word.ActiveDocument) refs to
GetObject(wrd.ActiveDocument)
(I still do not trust what I see )... but it makes sense that it will work
longer than just 2 minutes..
doesn't it ?!?!!
of course I have to create Dim wrd with the New !!! before it!!
Gina
... am very grateful!!!! for your code!!
> Basically I tend to put a reference to the Microsoft Word application this
> saves me the hasle of creating the object. A disadvantage to this technique
[quoted text clipped - 85 lines]
> >
> > Gina
JaRa - 10 Mar 2005 14:35 GMT
Don't forget to change
Set DC = Word.Documents.Add(reVorlage, , , True)
into
Set DC = wrd.Documents.Add(reVorlage, , , True)
either since you should always use your instantiated object and not just
word.documents
- Raoul
> JaRa
> BIG BIG :))) Thanks
[quoted text clipped - 108 lines]
> > >
> > > Gina
JaRa - 10 Mar 2005 14:35 GMT
Don't forget to change
Set DC = Word.Documents.Add(reVorlage, , , True)
into
Set DC = wrd.Documents.Add(reVorlage, , , True)
either since you should always use your instantiated object and not just
word.documents
- Raoul
> JaRa
> BIG BIG :))) Thanks
[quoted text clipped - 108 lines]
> > >
> > > Gina
JaRa - 10 Mar 2005 14:35 GMT
Don't forget to change
Set DC = Word.Documents.Add(reVorlage, , , True)
into
Set DC = wrd.Documents.Add(reVorlage, , , True)
either since you should always use your instantiated object and not just
word.documents
- Raoul
> JaRa
> BIG BIG :))) Thanks
[quoted text clipped - 108 lines]
> > >
> > > Gina