<Dim fd As FileDialog> fails to compile

  • Thread starter Eugene via AccessMonster.com
  • Start date
E

Eugene via AccessMonster.com

Hello all,

If you have ever experienced such an error, please advise what can be the
solution to compile a project? When I try to do this I get a "User-defined
type is not defined" error. My guess is that I have to set up some reference,
but if so - which one?

Thank you,

Eugene.
 
D

Dirk Goldgar

In
Eugene via AccessMonster.com said:
Hello all,

If you have ever experienced such an error, please advise what can be
the solution to compile a project? When I try to do this I get a
"User-defined type is not defined" error. My guess is that I have to
set up some reference, but if so - which one?

You probably just need to add a reference to the Microsoft Office
<version> Object Library. You would do that by opening any module in
the VB Editor, then clicking Tools -> References..., locating the
reference in the list of available references, and putting a check mark
in the box next to it.
 
E

ekim via AccessMonster.com

Dirk - thanks, that has helped.

Eugene

Dirk said:
You probably just need to add a reference to the Microsoft Office
<version> Object Library. You would do that by opening any module in
the VB Editor, then clicking Tools -> References..., locating the
reference in the list of available references, and putting a check mark
in the box next to it.
 

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

Similar Threads

Timescalevalue update gives error 1101 0
FileDialog 2
FileDialog 1
problem with file dialog 2
AddPicturesToShapes 0
mso.dll for filedialog 2
FileDialog gives compile error 7
Compile Error 1

Top