I created a user form and changed the name of it to SearchForm. When I wrote a sub to call on the form, I keep getting a runtime error 424 saying that there is an object required. Not sure why it isn't working now when it was working earlier. Any help would be much appreciated. Heres what I wrote:
Sub main()
Call clearOutput
Call loadData
SearchForm.Show
End Sub
Sub main()
Call clearOutput
Call loadData
SearchForm.Show
End Sub