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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open an OLE object with menu commands in VBA

Status
Not open for further replies.

RDS2

Technical User
Jun 6, 2003
44
US
Help please!

I have a form which displays an OLE object field. In this case the object is an Excel worksheet. If I select the control which displays the object I can click the command bar as follows:

Edit - Worksheet - Open

This will open the object in Excel, which is want I want.

My question is, can that command sequence be executed in VBA attached to a command button.

I've looked at the acCmd's but they don't include the ones I'm looking for.

 
I don't think there is a hyperlink with repspect to the control. I don't believe that there is evan an external address for the Worksheet. Isn't stored with the DB and only accessible through that?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top