Outlook 2003] Prompt User for "Save As" Box

Joined
Oct 21, 2008
Messages
1
Reaction score
0
I have a script that I'm using to strip attachments from Outlook e-mails.

The stripping part works fine and I'm able to save the attached files I'm stripping to a hardcoded directory using the SaveAsFile command.

What I'm interested in doing is having a "Save As" dialog box show up so that the user can navigate a directory and possibly edit the file name.

I've tried using fileSaveName = Application.GetSaveAsFilename but it doesn't seem to work in Outlook. I get a Run-time error '438': Object doesn't support this property or method.
I can run the same exact code in Excel VBA and it works just fine. I can't tell what the problem is here. I guess Outlook VBA doesn't support this?

Does anyone know what function I can use in outlook in order to get a window like this to appear?

Thanks
 
Back
Top