Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2010-09-07
4
Medium Priority
?
7,306 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
  • 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 35

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

Industry Leaders: 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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

877 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