Jul 19 2024 07:18 PM - edited Jul 19 2024 07:19 PM
I'm looking for a way to create a UserForm that will be generated when a VBA Module is ran instead of having to load the UserForm itself. I already have the code written for the command button "Enter" but am having trouble finding articles online on how to create the code for creating the form. Thanks for any help you guys can provide!
Jul 19 2024 11:52 PM
In general, it's much easier to create a bare-bones userform interactively in the Visual Basic Editor, then customize it in code. But if you really want to create it from scratch in your code, see Create UserForm programmatically in the module using VBA