On a form, I had a button to open a word document in access 2003.
The macro attached to the button ran RUNAPP
I changed the folder to office12 from office11 - but it still does not work.
Help!
Diana,
I gather you mean you have a macro in your Access 2007 database, using
the RunApp action, but when the button is clicked , nothing at all
happens (is that what you mean by "does not work"?)
Can you please post back with the exact entry in the Command Line
argument of the RunApp action in your macro?

Signature
Steve Schapel, Microsoft Access MVP
> On a form, I had a button to open a word document in access 2003.
> The macro attached to the button ran RUNAPP
>
> I changed the folder to office12 from office11 - but it still does not work.
>
> Help!
DianaH - 05 May 2008 20:47 GMT
Here is my statement for the Runapp:
c:\Program Files\Microsoft Office\Office12\winword.exe H:\CDP\test.doc
I hope this helps
Thank you
Diana
> Diana,
>
[quoted text clipped - 11 lines]
> >
> > Help!
Steve Schapel - 05 May 2008 21:04 GMT
Diana,
Please try with ""s around the 2 sections of the Command Line, i.e.
"C:\Program Files\Microsoft Office\Office12\winword.exe" "H:\CDP\test.doc"

Signature
Steve Schapel, Microsoft Access MVP
> Here is my statement for the Runapp:
> c:\Program Files\Microsoft Office\Office12\winword.exe H:\CDP\test.doc
DianaH - 06 May 2008 13:55 GMT
Steve
This did not work. The macro still opens a blank word document.
Thanks
Diana
> Diana,
>
[quoted text clipped - 3 lines]
> > Here is my statement for the Runapp:
> > c:\Program Files\Microsoft Office\Office12\winword.exe H:\CDP\test.doc
DianaH - 06 May 2008 14:01 GMT
Steve
I also put the server path in trust center location
> Steve
> This did not work. The macro still opens a blank word document.
[quoted text clipped - 8 lines]
> > > Here is my statement for the Runapp:
> > > c:\Program Files\Microsoft Office\Office12\winword.exe H:\CDP\test.doc
DianaH - 06 May 2008 14:26 GMT
Steve - I FOUND IT!!!!!!!!!!!!!!!!!
I was using the wrong extension. the word document in 2007 is .docx
Thank you for your help
Diana
> Steve
> I also put the server path in trust center location
[quoted text clipped - 11 lines]
> > > > Here is my statement for the Runapp:
> > > > c:\Program Files\Microsoft Office\Office12\winword.exe H:\CDP\test.doc
Steve Schapel - 06 May 2008 21:40 GMT
Wonderful news, Diana. So glad to hear it's sorted now.

Signature
Steve Schapel, Microsoft Access MVP
> Steve - I FOUND IT!!!!!!!!!!!!!!!!!
> I was using the wrong extension. the word document in 2007 is .docx
> Thank you for your help