Help to embed Word into Access

  • Thread starter Thread starter polman
  • Start date Start date
P

polman

Hi everybody again (I love this group).
I have a form and an OLE object in it. Could someone write for me the
VBA code so when I click on it (OLE field) to allow me to write in Word
environment?
The code DoCmd.RunCommand acCmdInsertObject just opens a dialog but I
wand to go farther than that. What I want is to automatically open a
word application into the field provided.
Thank you.
 
Thank you Arvin, Sorry for my late response...
I thought that would be much easier... like in Word which it lets you
select all your preferences in one line code. (e.x. the record macro
option in Word returns the following
code:"Selection.InlineShapes.AddOLEObject ClassType:="Word.Document.8",
FileName:="", LinkToFile:=False, DisplayAsIcon:=False" that make the
work...)
I will follow your link...



Ï/Ç Arvin Meyer [MVP] Ýãñáøå:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top