Forum Discussion

jarad graham's avatar
jarad graham
Copper Contributor
Feb 08, 2018

Can't add User Form in VBA project

When I try to add a User Form in a VBA project, I get an error that says "Component not correctly registered". This started happening a couple of months ago; I believe it was after I did a micrsoft update.

 

I've tried reinstalling Office which did not help. I'm not sure what else to try. And suggestions? If you need more information that would help diagnose the problem, please let me know.

7 Replies

  • Haytham Amairah's avatar
    Haytham Amairah
    Silver Contributor

    VBA depends on VB 6.0 runtime!

    Try to reinstall this https://www.microsoft.com/en-us/download/details.aspx?id=24417, this may fix the issue!

    • jarad graham's avatar
      jarad graham
      Copper Contributor

      I reinstalled the VBA 6.0 runtime but I'm still getting the same error. I'm able to add a Module or Class Module just fine, so I find it strange that I'm only getting the error when trying to add a UserForm.

      • Keith Perry's avatar
        Keith Perry
        Copper Contributor
        Is Microsoft Forms 2.0 Object Library listed and checked?

Resources