dbTalk Databases Forums  

How do I open a Word2010 document directly from an Access2010 form?

comp.databases.ms-access comp.databases.ms-access


Discuss How do I open a Word2010 document directly from an Access2010 form? in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Peter Jason
 
Posts: n/a

Default How do I open a Word2010 document directly from an Access2010 form? - 05-01-2011 , 09:35 PM






All I need is to put a button on the Access form to open a document in
Word2010.

I could do it in Access2003 but this new Access has no way to do it!

Please help, Peter

Reply With Quote
  #2  
Old   
Access Developer
 
Posts: n/a

Default Re: How do I open a Word2010 document directly from an Access2010 form? - 05-01-2011 , 11:06 PM






Look in the Click event of the Access 2003 Command Button you describe. My
guess is that you'll find VBA code, or that you wrote VBA code, to open the
Word document; or that you or someone included macros to do so. That code
is pretty close to what you'll put behind the button in a later version of
Access... if from Access 2003 you were opening Word 2003 on a particular
document, you may need some minor changes to open Word 2010 on a particular
document. I'm not aware of a specific OpenWordOnThisDocument button
built-in to Access.

--
Larry Linson, Microsoft Office Access MVP
Co-author: "Microsoft Access Small Business Solutions", published by Wiley
Access newsgroup support is alive and well in USENET
comp.databases.ms-access


"Peter Jason" <pj (AT) jostle (DOT) com> wrote

Quote:
All I need is to put a button on the Access form to open a document in
Word2010.

I could do it in Access2003 but this new Access has no way to do it!

Please help, Peter

Reply With Quote
  #3  
Old   
Jim Devenish
 
Posts: n/a

Default Re: How do I open a Word2010 document directly from an Access2010 form? - 05-02-2011 , 03:00 AM



On May 2, 5:06*am, "Access Developer" <accde... (AT) gmail (DOT) com> wrote:
Quote:
Look in the Click event of the Access 2003 Command Button you describe. *My
guess is that you'll find VBA code, or that you wrote VBA code, to open the
Word document; or that you or someone included macros to do so. *That code
is pretty close to what you'll put behind the button in a later version of
Access... if from Access 2003 you were opening Word 2003 on a particular
document, you may need some minor changes to open Word 2010 on a particular
document. *I'm not aware of a specific OpenWordOnThisDocument button
built-in to Access.

--
*Larry Linson, Microsoft Office Access MVP
*Co-author: "Microsoft Access Small Business Solutions", published by Wiley
*Access newsgroup support is alive and well in USENET
comp.databases.ms-access

"Peter Jason" <p... (AT) jostle (DOT) com> wrote in message

news:d26sr652m2ebh1agh5biml8nu326lsvfc0 (AT) 4ax (DOT) com...



All I need is to put a button on the Access form to open a document in
Word2010.

I could do it in Access2003 but this new Access has no way to do it!

Please help, Peter
Try:
Application.FollowHyperlink thePath

where thePath is the full pathname of the file you wish to open.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.