Exists FileDialog in VBA OutLook?

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..." ?
 
E

Eric Legault [MVP - Outlook]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top