Inserting an OLE object with a command button

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an OLE object field in a form. All I want is to use a command button
to bring up the OLE object dialog box. I can't seem to find the code for
this.
 
Hi,

This is fairly rudimentary but should get you strated:

Private Sub cmdInsertOBject_Click()
Me.BoundOLEObject.SetFocus
DoCmd.RunCommand acCmdInsertObject
End Sub

HTH

Jamie
 
Back
Top