How do I get File Save As Dialog Box for Attachments?

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

Guest

Can someone give me a code snippet that will pop up the MS-Outlook File Save
As dialog box for an attachment to a MailItem from within a VBA macro?

Thanks.

Mike M 91107
 
I guess I also need to understand how to make the Office.FileDialog.Show()
function available in Outlook. The File Save As dialog is part of the
Microsoft Office 11.0 Object Library. I have it checked under Tools ...
References in my VB Editor, but, do I have to do something special in code to
enable it inside an MS-Outlook macro?

Thanks.

Mike M 91107
 
You can't. You'd have to open the system save dialog using a Win32 API call
and then do all the saving yourself in code.
 
Open an instance of Word or Excel using code. That will also return to you a
file name to save to but it won't link with Outlook at all. In Word or Excel
code show the dialog.
 
Back
Top