Solved

Run-time error '57121': Application-defined or object-defined error

Posted on 2010-09-07
4
6,764 Views
Last Modified: 2012-05-10
I have an Excel file that people in the company access one at a time (the file is NOT set to "Share Workbook.")

And after some VBA and file structure changes, this error is sporadically occurring after they click enable macros.

After this error appears, I see that a control button I've inserted is deleted, none of the VBA code will run (although the code exists in the editor), and all data validation drop down lists are wiped out!

I cannot duplicate this error on my PC, but it is happening, seemingly sporadically, across computers.  It's happened 4 times today and I need to constantly restore the file.

I need help, and fast!

Thanks
0
Comment
Question by:HaimD
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 12

Expert Comment

by:Missus Miss_Sellaneus
ID: 33622180
0
 

Author Comment

by:HaimD
ID: 33622536
Not a practical solution...thanks though
0
 
LVL 34

Expert Comment

by:Norie
ID: 33629777
HaimD

I think we need quite a bit more information - this could be happening for a no of reasons.

At least you seem to have eliminated one possibility - shared workbook restrictions.

Can you choose to debug when you get the error?

If so what piece of code is highlighted?
0
 

Accepted Solution

by:
HaimD earned 0 total points
ID: 33631608
This error was being caused by a Control Toolbox Button.  I switched it to a Form Button, and I now longer get this particular error.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question