![]() |
| If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|||||||
| Tags: attachments, box, dialog, file, save |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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 |
| Ads |
|
#2
|
|||
|
|||
|
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 "Mike M 91107" wrote: 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 |
|
#3
|
|||
|
|||
|
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. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Mike M 91107" wrote in message ... 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 |
|
#4
|
|||
|
|||
|
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. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Mike M 91107" wrote in message ... 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 "Mike M 91107" wrote: 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 |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| bypassing save dialog box | philippe | Outlook - Using Forms | 5 | April 26th 06 03:52 PM |
| Empty Dialog Box | Will T | Outlook - General Queries | 1 | March 29th 06 11:06 PM |
| IE and Outlook Express flashing file dialog box | Sir Timbit | Outlook Express | 9 | March 14th 06 07:22 PM |
| Empty "Select Destination File" Dialog Box when Importing Appointm | Debbie | Outlook - Calandaring | 0 | March 3rd 06 05:01 PM |
| Slow pull down menu within the insert file dialog box | Harold | Outlook - General Queries | 0 | January 26th 06 05:00 PM |