[mso] ACCESS 2002: Open Embedded Word Document From Combo OR List Box

  • From: Cathy.Evans@xxxxxxxxx
  • To: mso@xxxxxxxxxxxxx
  • Date: Tue, 8 Jun 2004 16:50:26 -0400

In an Access form, I can open a specific word file as new instance via
below but want to transpose code to open an embedded document selected from
a combo or list box.  The table populating the combo box contains the
embedded forms that need to open in new instance when user selects the
title.   These databases will be sent to remote sites where the system set
ups/file directory structures, etc., are different and forms need to be
accessible to all at these sites, even in cases they do not use a shared
server.  Thus the few forms they will use are embedded right in the access
form.  If I open straight from an embedded object, any automation such as
fill-in pop ups in the word document are not activated, so it must open as
a new instance for everything to work right.  But haven't been successful
at transposing this to work on a combo box and go to the embedded document
instead of a windows directory.  Any ideas? Thanks, Cathy


Private Sub cmdForm_Click()

Dim oApp As Object

Set oApp = CreateObject("Word.Application")
oApp.Visible = True
oApp.Documents.Add "c:\Forms\PO_Master.dot"




-----------------------------------------------------------------------------------------------------
The information transmitted is intended only for the person
or entity to which it is addressed and may contain confidential
and/or privileged material. If you are not the intended recipient 
of this message you are hereby notified that any use, review,
retransmission, dissemination, distribution, reproduction or any
action taken in reliance upon this message is prohibited. If you 
received this in error, please contact the sender and delete the 
material from any computer.  Any views expressed in this message
are those of the individual sender and may not necessarily reflect 
the views of the company.  
-------------------------------------------------------------------------------------------------------

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts:

  • » [mso] ACCESS 2002: Open Embedded Word Document From Combo OR List Box