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

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
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,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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