View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jens 'Kluesi' Kluesener Jens 'Kluesi' Kluesener is offline
external usenet poster
 
Posts: 4
Default Problem with creating a Word Document

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