Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / May 2008

Tip: Looking for answers? Try searching our database.

open word from access 2007 using a macro

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DianaH - 05 May 2008 18:23 GMT
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!
Steve Schapel - 05 May 2008 20:28 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.