none
Create Office toolbar with buttons containing hyperlinks RRS feed

  • Question

  • I'm new to using both Visual Studio and VB and am trying to create a new tab that can be accessed from Excel, Access and Powerpoint that will contain two buttons.  Both buttons will provide a hyperlink that opens up a web page.

    So far I have been able to create the tab and buttons but cannot see how I can link the hyperlinks to the buttons.

    Does anyone have any suggestions please?  Thanks

    The code I have so far is:

    Public

    PrivateSubRibbon1_Load(ByValsender AsSystem.Object, ByVale AsRibbonUIEventArgs) HandlesMyBase.Load

    EndSub

    PrivateSubToggleButton1_Click(ByValsender AsSystem.Object, ByVale AsMicrosoft.Office.Tools.Ribbon.RibbonControlEventArgs) HandlesToggleButton1.Click

    EndSub

    PrivateSubToggleButton3_Click(ByValsender AsSystem.Object, ByVale AsMicrosoft.Office.Tools.Ribbon.RibbonControlEventArgs) HandlesToggleButton3.Click

    EndSub

    End Class

    ClassRibbon1
    Imports Microsoft.Office.Tools.Ribbon
    • Moved by lucy-liu Wednesday, February 22, 2012 9:53 AM it is a office issue. (From:MSBuild)
    Tuesday, February 21, 2012 6:54 PM

Answers

  • Hello,

    Are you looking for Process.Start(http://google.com)?


    Regards from Belarus (GMT + 3),

    Andrei Smolin
    Add-in Express Team Leader

    Please mark answers and useful posts to help other developers use the forums efficiently.

    • Marked as answer by Jubaru Thursday, February 23, 2012 11:54 AM
    Wednesday, February 22, 2012 11:34 AM

All replies

  • Hi Jubaru,

    This is a office issue, in order to give you a better support, I will move it to "Visual Studio Tools for Office" forum .

    Thank you for your understanding!


    Lucy Liu [MSFT]
    MSDN Community Support | Feedback to us

    Wednesday, February 22, 2012 9:52 AM
  • Hello,

    Are you looking for Process.Start(http://google.com)?


    Regards from Belarus (GMT + 3),

    Andrei Smolin
    Add-in Express Team Leader

    Please mark answers and useful posts to help other developers use the forums efficiently.

    • Marked as answer by Jubaru Thursday, February 23, 2012 11:54 AM
    Wednesday, February 22, 2012 11:34 AM
  • Thanks for transferring me Lucy.  Sorry I put it in the wrong place.

    Andrei - I will give that a go.  Thanks for the suggestion.

    Regards

    Jubaru

    Thursday, February 23, 2012 10:08 AM
  • Thanks Andrei,  that is what I was looking for  :-)

    Thursday, February 23, 2012 11:54 AM