I created two new user forms for a worksheet. After I made them I added two buttons to the excel page. Then I set up a module and put in
Sub Button4_Click()
Missing.Show
End Sub
Now that I assigned the macro to the button, when I click the button I get an “object required” error. Why is this, and what can I do to make th buttons actually open the usr form if the above is not working?
Well, I finally figured out the problem. It actually had nothing to do with the button itself.
Missing.Showworks perfectly fine. It was actually a problem with the form initialization; at some point I changed the initialization towhen I actually should have left it at
So, apparently, even though the error was always taking me to the button code, it was actually the form’s initialization that was causing the fuss. Hope this helps anyone else with a similar issue.