Reputation: 3559
My Excel book contains a user form called myUserForm
.
I want to open it, fill it with data and programmatically press its buttons, but
Sub myUserFormShow()
Dim muf As myUserForm
muf.Show
End Sub
prompts an error User-defined type not defined
. How to fix it? Thanks.
Upvotes: 0
Views: 1800