Suddenly several VBA macro errors, mostly 32809

前端 未结 6 916
青春惊慌失措
青春惊慌失措 2020-12-11 21:23

Suddenly my excel file is generating a lot of errors at startup.
No changes have been made to the file since before the errors started.

Example of errors:

6条回答
  •  死守一世寂寞
    2020-12-11 21:51

    This same error started cropping up for me, and if it's happening to you when you share a VBA workbook with others this is probably your issue.

    The root is a security update that Microsoft pushed in December 2014. The Microsoft Support page for this issue is here: http://support.microsoft.com/kb/3025036/EN-US

    Here's the fix:

    1. On the computer used to create the VBA Excel file, find an uninstall the relevant security patch under Windows Updates (KB 2726958 for Office 2013, KB 2553154 for Office 2010, or KB 2596927 for Office 2007).
    2. After uninstalling the patch, open the VBA file you're having issues with. Make some minor edit to the VBA code so Excel recompiles (just in case).
    3. Save the file and test on other computers having the Active-X issues.

    Hopefully this helps someone that was in my position this morning. This is a frustrating issue, and it's hard to track down a resolution.


    Sources & notes:

    [1] Details for the Security Update from Microsoft Update:

    Name: Security Update for Microsoft Office 2010 (KB2553154) 32-Bit Edition

    Download size: 542 KB

    Details: A security vulnerability exists in Microsoft Office 2010 32-Bit Edition that could allow arbitrary code to run when a maliciously modified file is opened. This update resolves that vulnerability.

    More information: http://support.microsoft.com/kb/2553154

    [2] "Cannot insert object" error in an ActiveX custom Office solution after you install the MS14-082 security update at http://support.microsoft.com/kb/3025036/EN-US

    [3] Relief for botched Excel patches KB 2553154, 2726958 missing from January Patch Tuesday at http://www.infoworld.com/article/2868062/operating-systems/january-patch-tuesday-a-yawn-and-several-whimpers-no-relief-for-last-months-kb-2553154-2726958-botc.html

    [4] Form Controls stop working after December 2014 Updates at http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2014/12/18/forms-controls-stop-working-after-december-2014-updates-.aspx

提交回复
热议问题