[AccessD] How to get my Word document open

Joe O'Connell joeo at appoli.com
Tue Jun 24 23:01:18 CDT 2008


Tina,

    Dim appWord As Word.Application
    Dim docWord As Word.Document
    Set appWord = New Word.Application
    Set docWord = appWord.Documents.Add("path and name of your
document")
    appWord.Visible = True
    appWord.Activate


Joe O'Connell

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris
Fields
Sent: Tuesday, June 24, 2008 6:11 PM
To: AccessD at databaseadvisors.com
Subject: [AccessD] How to get my Word document open

Hi Group,

Again, I know I've seen something on this before, but what I've found so

far doesn't quite work, so I'm looking for help.

On my form, I have a nice button that will launch Word for me, but I 
want it to open a particular document.  The things I have tried so far 
are not working.  So, once again I turn to this knowledgeable group for 
assistance.  How do I make Access launch Word and open a specific
document?

Thanks for your help,
Tina
-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list