Remove UserForm
I have a program that has numerous userforms, but I want an easy way for them to be changed if necessary. I'm trying to write a program that does this, but can't seem to figure out how to delete a userform. I am currently using the following line of code and can't seem to get it to work.
Application.VBE.VBProjects("Check_Form").VBCompone nts.Remove(userforms("Userform1"))
|