Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 371
  • Last Modified:

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...
0
sfmoore2006
Asked:
sfmoore2006
1 Solution
 
peter57rCommented:
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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now