Save As from OLE Object

G

Guest

I have an ole object on my form that stores most files, jpg, ppt, xls, doc
etc. I want a button to Save As which would open the standard Save As file
prompt so the object would be saved outside of Access. How would I do this?

This is for a cross network Access E-mail system so I have to use embedded
objects.

Thanks for your help!
 
G

Guest

This opens a Save As dialog bog, using the code on my form:
Private Sub cmdSaveAs_Click()
Dim strSaveFileName As String
strSaveFileName = ahtCommonFileOpenSave( _
OpenFile:=False, _
Filter:=strFilter, _
Flags:=ahtOFN_OVERWRITEPROMPT Or ahtOFN_READONLY)
MsgBox strSaveFileName
End Sub

But how do I actually make it save the file thats held in the OLE Object?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top