calling ms word

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
 
M

Michael Bauer [MVP - Outlook]

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:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top