I am trying to teach myself Visual Studio. I have created an add-in for excel (using visual basic) and added a button to a ribbon group.
I then added a form to the project and am trying to use the buttons click event to open the login form. When using frmLogin.show, I get "reference to a non-shared member requires an object reference".
I need to understand how to load other objects from this button click event.
What I have tried:
Private Sub btnLogIn_Click(sender As Object, e As RibbonControlEventArgs) Handles btnLogIn.Click