I'm using the code in this link to create a UserForm on the fly:
But I'm getting a "Variable Not Defined" compile error on the following line:
[CODE]Set TempForm = ThisWorkbook.VBProject.VBC
When debugging, it is highlighting the "vbext_ct_MSForm" part of the line, the argument for the "Add" method. Any ideas?