G
Gina
Hi all.
I am having a problem telling access to take the dokument template which is
in the same directory as the mdb file
this version works:
Set WD = CreateObject("Word.Document", "Dell")
Set DC = Word.Documents.Add("C:\Test\Rechnung1.dot", , , True)
whereas here I get a message '5151' saying that the doc isn't not there :
Set DC = Word.Documents.Add("Rechnung1.dot", , , True)
how can I write the path in a relative way without having to define the
absolute path of the actual template ??
Thanks
Gina
I am having a problem telling access to take the dokument template which is
in the same directory as the mdb file
this version works:
Set WD = CreateObject("Word.Document", "Dell")
Set DC = Word.Documents.Add("C:\Test\Rechnung1.dot", , , True)
whereas here I get a message '5151' saying that the doc isn't not there :
Set DC = Word.Documents.Add("Rechnung1.dot", , , True)
how can I write the path in a relative way without having to define the
absolute path of the actual template ??
Thanks
Gina