Save As from OLE Object

A

Adam Thwaites

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!
 
A

Adam Thwaites

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

Similar Threads

Merging from an Excel file with graphics 1
OLE Object Data Type Question 8
Opening an Ole Object from a form 0
Linked OLE Object 3
OLE Objects 2
problems with OLE objects display 0
OLE object 1
OLE Object Links 0

Top