- Subject: Can't open a FileDialog in outlook
- Author: Peter Sellmeijer
- Date: 24 Jun 2011
- References:
From a macro i do want to open a filedialog.
In the Help i can find a example:
'Declare a variable as a FileDialog object.
Dim fd As FileDialog
'Create a FileDialog object as a File Picker dialog box.
Set fd = Application.FileDialog(msoFileDialogFilePicker)
The last line gives in outlook an error.
But in Excel it works fine.
Why?
Is there an alternative for Outlook.
Regards,
Peter