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

Paste OLE Object to Windows Directory From Access

Status
Not open for further replies.

97867564534231

Technical User
Jul 15, 2003
2
0
0
GB
Hi,
I have a form in access which contains an ole object (of a dll file), what i require is that when the user presses my command button "save" the OLE Object file will be copied from the form into the "C:/" windows directory. I know the user can do this by right clicking and then pasting, but need it to be done through vba code.
at the momne tI am copying the OLE object with the following, but don't know how to paste it into the "C:/" directory.
Me.Controls("OLEUnbound19").Action = acOLECopy

Please can someone help,
Thanks in advance
 
I need to do the same thing, but with a PDF as the OLE. Did you have any luck finding a solution??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top