Mystery crash

zombiemaster

Board Regular
Joined
Oct 27, 2009
Messages
245
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

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
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,223,227
Messages
6,170,849
Members
452,361
Latest member
d3ad3y3

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