[AccessD] How to get my Word document open

Tina Norris Fields tinanfields at torchlake.com
Wed Jun 25 06:06:16 CDT 2008


Joe,

Thanks.  I had been using GetObject and that kept giving me an error.  I 
appreciate this very much.

Tina

Joe O'Connell wrote:
> 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
>   



More information about the AccessD mailing list