Avatar of mlcktmguy
mlcktmguy
Flag 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
Microsoft Access

Avatar of undefined
Last Comment
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Dale Fye

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
mlcktmguy

ASKER
That was it
PatHartman

I'm not sure that A2013 supports CommandBars.  You may have to convert them to ribbons.
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)

A2013 does support CommandBars.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Dale Fye

Pat,

It does not support menus, but does support CommandBars.
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)

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
PatHartman

I knew they dropped support for one of those things:)  Thanks Dale.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)

They didn't ....
Dale Fye

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.
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)

Well ... maybe you cannot create one, but legacy menus are ... supported ... so how can you disagree, lol.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck