Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
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
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
convert excel document to word document (not a picture) frendabrenda1 Excel Discussion (Misc queries) 2 October 6th 06 03:55 PM
help creating a macro in excel that opens a specific word document Prohock Excel Discussion (Misc queries) 3 March 30th 06 04:58 PM
Problem with linked Excel table in a word Document jcarlos Excel Discussion (Misc queries) 1 August 5th 05 07:41 PM
Hyperlink to word document problem JS Links and Linking in Excel 0 December 8th 04 10:54 PM
problem editing Word document with VBA from Excel Malone[_2_] Excel Programming 0 August 22nd 03 08:41 PM


All times are GMT +1. The time now is 08:52 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"