Embedded Word Document

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have embedded a multi-page word document into a table which I access with a
form. When the form comes up only the 1st page is available. If you double
click on the document, a Word document opens up and all the pages are
available. My question is: Is there any way that the Word document can be
opened up when the form opens up, so the user doesn't have to double click on
the document to make all the pages available.

Any help would be appreciated
 
I am just a mid-level VBA programmer, and was hoping that something might be
available using just VBA and Access. I hesitate to get involved with C++ if
I can possible help it
--
Frank Wagner
(e-mail address removed)


Stephen Lebans said:
I have used this control and in preliminary testing ti works well on an
Access Form.
http://support.microsoft.com/default.aspx?scid=kb;en-us;311765
Visual C++ ActiveX Control for hosting Office documents in Visual Basic or
HTML


--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
The control was written in C++, your programming will be simple VBA:

Private Sub cmdOpenFile_Click()
Me.ControlName.Open Me.txtPath
End Sub
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access

Frank Wagner said:
I am just a mid-level VBA programmer, and was hoping that something might be
available using just VBA and Access. I hesitate to get involved with C++ if
I can possible help it
 
Arvin:

I am not sure I understand the code you sent. What do I put in the
"txtpath" portion of the code. Since it's an embedded document, I don't
think the original textpath of the word document applies any more. Is this
the test path to some code that I must import into the system? If it is, I'm
not sure how to include it with a run-time version of Access when I sent it
to my clients.

Let me know your thoughts when you have a chance. Thanks
--
Frank Wagner
(e-mail address removed)


Arvin Meyer said:
The control was written in C++, your programming will be simple VBA:

Private Sub cmdOpenFile_Click()
Me.ControlName.Open Me.txtPath
End Sub
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
 
Back
Top