<Dim fd As FileDialog> fails to compile

  • Thread starter Thread starter Eugene via AccessMonster.com
  • Start date 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.
 
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.
 
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.
 
Back
Top