Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8392287
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T19:28:46+00:00 2026-06-09T19:28:46+00:00

After installing all latest windows updates my Excel VBA code is showing an automation

  • 0

After installing all latest windows updates my Excel VBA code is showing an automation error at the very start of the first module. It contains some forms as well as numerous modules of VBA code. However, when removing the forms (and associated code) everything is fine.

The same thing happened about a year ago after some other windows updates. Back then deleting the .exd files did the trick, but the current updates (including Service Pack 3) seem to be different.

What is going on and how can I get the forms to work? All the code is unchanged and has survived all previous windows/office updates. Running Windows 7 (same happening on Vista machine) and Office 2007.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T19:28:48+00:00Added an answer on June 9, 2026 at 7:28 pm

    I used to see this a lot with Visual Basic and Crystal Reports; either due to a bad deployment or DLL Hell.

    So, my guess is that it’s not the code but perhaps some 3rd party controls (OCXs, DLLs) you’re using.

    Check your References (In VBA IDE, click Tools and References) and to see where each DLL is pointing.

    See if any of the dates on the libraries are different than a working machine and you may find the culprit.


    Edit

    The OP found the problem by following the steps above.

    The fix for this particular issue is to unregister mscomctl.ocx:

    regsvr32 /u mscomctl.ocx 
    

    Then register it:

    regsvr32 mscomctl.ocx
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After installing the QuickReport 5.0 version, I get property error messages on all Reports
I am getting 500 internal server error after installing all gems. Some people say
I installed TestDriven.Net after installing NUnit. When in VS, I run all tests, they
After installing Snow Leopard I got the following error when connecting to a remote
Does anyone know if it's ok to uninstall all system gems after installing RVM
I followed the instructions on http://www.haskell.org/haskellwiki/Gtk2Hs#Install_libxml to install gtk2hs on windows XP, after installing
After installing the F# September CTP (1.9.6.2), Visual Studio 2008 frequently gives an error
After installing Debugger Canvas and restarting Visual Studio, I get this error for each
After installing TortoiseSVN 1.6.0, all files loaded into an AnkhSVN enabled Visual Studio 2008
I'm creating a windows service and after installing the service, it stops and starts

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.