Solved

OLE OBJECT ACTIVATION FROM COMMAND BUTTON

Posted on 2006-10-26
2
346 Views
Last Modified: 2008-03-04
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
Comment
Question by:sfmoore2006
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 125 total points
ID: 17817538
Hi sfmoore2006,

Example:

Private Sub Command13_Click()

 Me.OLEUnbound12.Verb = acOLEVerbOpen

Me.OLEUnbound12.Action = acOLEActivate


End Sub



Pete
0
 

Author Comment

by:sfmoore2006
ID: 17834708
This was exactly what I was looking for.  Many Thanks!!!
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question