Forum Discussion
Can't add User Form in VBA project
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!
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 PerryFeb 21, 2018Copper ContributorIs Microsoft Forms 2.0 Object Library listed and checked?
- jarad grahamFeb 21, 2018Copper ContributorMicrosoft Forms 2.0 Library was listed but not checked. I checked it, but still received the error. Strangely, after checking the forms 2.0 library, if i close out of excel and reopen it, the forms 2.0 library is no longer checked; not sure if that is supposed to happen.
- Haytham AmairahFeb 21, 2018Silver Contributor
Jarad,
Please record the steps step by step from opening Excel till insert a UserForm using the https://www.lifewire.com/using-windows-7-problem-steps-recorder-3506871
Make sure to start recording before you open Excel, and to stop it when you get the error message!
After you finish the recording, please save the recording steps as a zip file and attach it here in this community!
This will provide us with a detailed info about the issue.