Link to home
Create AccountLog in
Avatar of mlcktmguy
mlcktmguyFlag for United States of America

asked on

User Defined Type Not Found, Access 2013

I'm get the 'User Defined Type Not Found' error when I try to compile an Access 2013 application.

The error is on the statement:

Dim cmb As CommandBar

Which reference am I missing?

These are my current references
References.docx
ASKER CERTIFIED SOLUTION
Avatar of Dale Fye
Dale Fye
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of mlcktmguy

ASKER

That was it
I'm not sure that A2013 supports CommandBars.  You may have to convert them to ribbons.
Pat,

It does not support menus, but does support CommandBars.
Dale ... legacy menu bars will still show up on the Add Ins Ribbon tab (the ONLY way/place they can show up).

Maybe better put it supports the CommandBars Object Model
I knew they dropped support for one of those things:)  Thanks Dale.
Well, Joe, you cannot create a menubar in 2013, or 2010, or even 2007 for that matter.  All you can do is import one from an earlier version of Access, so I would have to disagree.
Well ... maybe you cannot create one, but legacy menus are ... supported ... so how can you disagree, lol.