calling ms word

  • Thread starter Thread starter Southern at Heart
  • Start date Start date
S

Southern at Heart

In my VBA, how do I open up a new document from the template "My Template"
which is saved in my templates folder. I'm using office 2003 pro.
thanks,
southern at heart
 
From Outlook:

Dim Wd as Word.Application
Dim Doc as Word.Document
Dim File$

File="c:\your template folder\my template.dot"

Set Wd=CreateObject("Word.Application")
Set Doc=Wd.Documents.Open(File)

BTW: For Word specific questions you might better ask in newsgroup for Word.
This one is for Outloook.

--
Best regards
Michael Bauer - MVP Outlook
Use Outlook Categories? This is Your Tool:
<http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6>

Am Fri, 22 Feb 2008 20:40:00 -0800 schrieb Southern at Heart:
 
Back
Top