Problem with creating a Word Document

  • Thread starter Jens 'Kluesi' Kluesener
  • Start date
J

Jens 'Kluesi' Kluesener

Hi

At this time I create a Word document like this:

Dim appWord As Object
Set appWord = CreateObject("Word.Document")

appWord.Application.Documents.Add Template:=...

I can modify this Document with appWord.Application.ActiveDocument...

yesterday I tried this:

Dim myDoc As Word.Document

Here (I think so) I also get a new Document. How can I create a new
Document with a Template File (*.dot)?

Many thanks

Jens
 
Top