Mystery crash

zombiemaster

Board Regular
Joined
Oct 27, 2009
Messages
241
I have a spreadsheet with two VBA macros inbedded in it. The file is in a SharePoint shared folder and has worked daily uninterrupted for well over 2 years. Suddenly this morning, we are getting a Run-time error on both macros:

Run-time error '-2147319767 (80028029)':
Automation error
Invalid forward reference, or reference to uncompiled type.


These macros have not been modified in any way for over 2 years and worked fine on Saturday but now they're not. Does anyone know anything about that error and what may be causing it? I was thinking it was a SharePoint issue, so I tried uploading another spreadsheet into the same SharePoint folder and that macro worked fine.

Thanks for any help!
-=ZM=-
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Try adding a reference to the workbook's project (doesn't matter to what library), then compile and save it. Then remove the reference again and see if the problem is gone.
 
Upvote 0
Try adding a reference to the workbook's project (doesn't matter to what library), then compile and save it. Then remove the reference again and see if the problem is gone.
You lost me...sorry, I'm not very good at the technical stuff. Can you give an example of how to do that?
 
Upvote 0
I solved the problem by restoring a previous version of the spreadsheet from SharePoint archives and the macros are working again - thanks to all who viewed and tried to help, I appreciate it!
:cool:
-=ZM=-
 
Upvote 0

Forum statistics

Threads
1,215,102
Messages
6,123,099
Members
449,096
Latest member
provoking

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top