Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OLE Object - Word Document

Status
Not open for further replies.

byurow

Programmer
Jul 7, 2002
111
US
Hey everyone,

I have an OLE Object (a Word Document) that I open in a form. To open the object, in an unbound form, I am using an image box. The image box populates properly with the correct record.

If I right click on the object I am given the option to either Open or Edit the record. If I select Open, the Word document actually opens in Word.

All this works great.

What I would like to do is open the document in Word on double click. Currently when I double click on the object I go into Edit mode. I want to go into Open mode.

How do I do this? My users are VERY non-techie so I am trying to make the db as user friendly as possible.

Thanks in advance for any help!

Brenda
 
Never mind I found it! Thanks CYGNE for your earlier post. The code I needed was:

Me.oleWordDocument.Verb = acOLEVerbOpen

Brenda
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top