Link to home
Start Free TrialLog in
Avatar of MnInShdw
MnInShdwFlag for Japan

asked on

Error after deleting a user-costomized CommandBar

After deleting a user-Customized commandbar in an Access file, I receive the following error when I open this file:
---------------------------------------------------------------------------------------------------------------------------------------
DatabaseName cannnot find the object 'CommandBarName".
If 'CommandBarName' is a new macro or macro group, make shure you have saved it and that
you have typed its name correctly.
---------------------------------------------------------------------------------------------------------------------------------------

To find out the reason, I've deleted tables,forms,queries,modules and reports one by one,
and even now that the database is empty, the error message still keeps appearing.

I've checked Options-Current Database But couldn't find any reference to the deleted commandbars.

This database has been an Access 2003 database that was upgraded  to Access 2010.


An empty copy of this database (without any macro, module, form or table) is attached, in case you need to have a look at it.



Any kind of help to track this error message, is much appreciated.

test.zip
ASKER CERTIFIED SOLUTION
Avatar of Boyd (HiTechCoach) Trimmell, Microsoft Access MVP 2010-2015
Boyd (HiTechCoach) Trimmell, Microsoft Access MVP 2010-2015
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MnInShdw

ASKER

Million thanks.

You're a genius.

I never thought of that.