Question Compile error appears after running security wizard

Elfman

Registered User.
Local time
Today, 11:55
Joined
Aug 16, 2007
Messages
27
Hi All,

I have an mdb, which complies without problem.
I ran the security wizard on the mdb and try to compile it to an
MDE and it pops up with an error.

the error message is "User-defined type is not defined" as applies to the following code :

Dim custbar As CommandBar

Anyone know what the cause of this is ?


- Elfman
 
Hi,

goto tools -> references and make sure you have the reference Microsoft Office XX.X Object Library checked.

XX.X being the version of your access database
 

Users who are viewing this thread

Back
Top Bottom