Exists FileDialog in VBA OutLook?

  • Thread starter Thread starter NilovSerge
  • Start date Start date
N

NilovSerge

Hallo!
If in VBA OutLook exist functions or class for choosing files on disk
like FileOpen...
In a book on VBA I found example :
Dim Fd As FileDialog ' GET ERROR "Compile Error: User defined type
not defined"
...
set Fd= Application.FileDialog( msoFileDialogFilePicker )
...
and it was written that class FileDialog works in all apps of Office
I use Office 2000 What is the matter? Maybe I need to check some
library in "Tools/References..." ?
 
There's plenty of information here to get your problem solved:

Enhance Your Apps with Common Dialogs: Part I
http://tinyurl.com/2erju

It shows you how to use the COMDLG32.OCX control, or the Win32 API to access
the Common Dialog Control.
 
Back
Top