VB.net Excel Add-in Running a procedure behind a UserControl from a button on the ribbon
I need to run the following procedure "Test" behind UserControl1 (a Custom Task Pane)
from a button click on my Ribbon. How do I do this? I tried changing the code below to "Public Shared Sub Test" but got the error: "Me is not valid within an instance method"
Public Class UserControl1
Public Sub Test