• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

iRibbonControl (show a worksheet)

Mr.Karr

Member
Hi


I have created an Add-in and would like to bring a "particular" worksheet in focus. But the worksheet is in the add-in bundle where I have all the other controls.

Is it possible to activate an worksheet which is the add-in itself? Any inputs?

Code:
Public Sub ShowHome(control As IRibbonControl)
'
' Code for onAction callback. Ribbon control button


Worksheets("PPproject").Visible = True
Worksheets("PPproject").Activate

End Sub

Where "PPproject" is a worksheet inside add-in
 
Back
Top