opening word files from switchbard

P

petejmc

I am tying to open a mail merged document using a button on a swichboard but
am unsure how to do it. I can open the application but would like to open the
actual document.
 
D

David Lloyd

In general, if you have created an instance of a Word application, you can
use the Open method of the Documents collection to open a specific Word
document. For example:

Dim wd as New Word.Application
Dim doc as Word.Document

Set doc = wd.Documents.Open("C:\MyDoc.doc")

--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties.


I am tying to open a mail merged document using a button on a swichboard but
am unsure how to do it. I can open the application but would like to open
the
actual document.
 
Top