OLE OBJECT ACTIVATION FROM COMMAND BUTTON

How can I create a cmdbutton that will open an embedded object in an access form?  I am trying to get around utilizing the dbl-click...
sfmoore2006Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
peter57rConnect With a Mentor Commented:
Hi sfmoore2006,

Example:

Private Sub Command13_Click()

 Me.OLEUnbound12.Verb = acOLEVerbOpen

Me.OLEUnbound12.Action = acOLEActivate


End Sub



Pete
0
 
sfmoore2006Author Commented:
This was exactly what I was looking for.  Many Thanks!!!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.