locked
How to add website link Tab in Office 2010 Ribbon. RRS feed

  • Question

  • Hi ,

    I want to add Intranet website link into Word 2010 Ribbon tab. So that whenever user clicks, it will open the site in internet explorer. Please suggest some solution to this.

    Regards,

    Varun. 

    Monday, May 23, 2011 7:22 AM

Answers

  • Hi

     

    Thank you for using Microsoft Office for IT Professionals Forums.

     

    From your description, I understand that you want to add Intranet website link into Word 2010 Ribbon tab. If there is any misunderstanding, please feel free to let me know.

     

    We can create a macro to carry out this plan. Please follow these steps:

    Step 1 To enable the Developer tab, if you have enabled Developer tab go to Step 2

    a)      On the File tab, choose Options to open the Options dialog box.

    b)      Click Customize Ribbon on the left side of the dialog box.

    c)      Under Choose commands from on the left side of the dialog box, select Popular Commands.

    d)      Under Customize the Ribbon on the right side of the dialog box, select Main Tabs in the drop down list box, and then select the Developer checkbox.

    e)      Click OK.

    Step 2 Enable all Marcos & Trust access to the VBA project object model

    a)       Click the File tab, click Options, click Trust Center, and then click Trust Center settings.

    b)       Click Macro Settings.

    c)        Under Macro Settings, click Enable all macros.

    d)       Under Developer Macro Settings, select Trust access to the VBA project object model checkbox

    Step 3 Create a new Marco in Normal.dotm (global template)

    a)       Start Word

    b)       Click Developer tab

    c)        In the Code tab, Click Marcos button

    d)       Drop down Marcos in, Select Normal.dotm (global template)

    e)       Type follow text to Marco name box:  OpenURL

    f)        Click Create

    g)       In the NewMacros(Code) box ,Copy or type follow text:

    Sub OpenURL()

    '

    ' OpenURL Macro

    '

    '

    Shell "C:\Program Files\Internet Explorer\iexplore.EXE http://websiteaddress (Example: http:// social.technet.microsoft.com/Forums/)"

     

    End Sub

    Step 4 Get to the Customize the Ribbon window (How to)

    a)       Click the File tab.

    b)       Under Help, click Options.

    c)        Click Customize Ribbon.

    TIP    You can also get to the Customize the Ribbon window, by right-clicking any tab on the ribbon, and then clicking Customize the Ribbon.

    d)       Drop down Choose commands from, select Marcos (You have created macros before)

    e)       Click New Tab button add to Main Tabs

    f)        Click Add >> button, and then Click OK

     

    Please take your time to try the suggestions and let me know the results at your earliest convenience. If anything is unclear or if there is anything I can do for you, please feel free to let me know.

     

    Hope that helps.

     

    Sincerely

    William Zhou CHN
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    • Marked as answer by Max Meng Friday, May 27, 2011 8:43 AM
    Wednesday, May 25, 2011 8:53 AM

All replies

  • Hi

     

    Thank you for using Microsoft Office for IT Professionals Forums.

     

    From your description, I understand that you want to add Intranet website link into Word 2010 Ribbon tab. If there is any misunderstanding, please feel free to let me know.

     

    We can create a macro to carry out this plan. Please follow these steps:

    Step 1 To enable the Developer tab, if you have enabled Developer tab go to Step 2

    a)      On the File tab, choose Options to open the Options dialog box.

    b)      Click Customize Ribbon on the left side of the dialog box.

    c)      Under Choose commands from on the left side of the dialog box, select Popular Commands.

    d)      Under Customize the Ribbon on the right side of the dialog box, select Main Tabs in the drop down list box, and then select the Developer checkbox.

    e)      Click OK.

    Step 2 Enable all Marcos & Trust access to the VBA project object model

    a)       Click the File tab, click Options, click Trust Center, and then click Trust Center settings.

    b)       Click Macro Settings.

    c)        Under Macro Settings, click Enable all macros.

    d)       Under Developer Macro Settings, select Trust access to the VBA project object model checkbox

    Step 3 Create a new Marco in Normal.dotm (global template)

    a)       Start Word

    b)       Click Developer tab

    c)        In the Code tab, Click Marcos button

    d)       Drop down Marcos in, Select Normal.dotm (global template)

    e)       Type follow text to Marco name box:  OpenURL

    f)        Click Create

    g)       In the NewMacros(Code) box ,Copy or type follow text:

    Sub OpenURL()

    '

    ' OpenURL Macro

    '

    '

    Shell "C:\Program Files\Internet Explorer\iexplore.EXE http://websiteaddress (Example: http:// social.technet.microsoft.com/Forums/)"

     

    End Sub

    Step 4 Get to the Customize the Ribbon window (How to)

    a)       Click the File tab.

    b)       Under Help, click Options.

    c)        Click Customize Ribbon.

    TIP    You can also get to the Customize the Ribbon window, by right-clicking any tab on the ribbon, and then clicking Customize the Ribbon.

    d)       Drop down Choose commands from, select Marcos (You have created macros before)

    e)       Click New Tab button add to Main Tabs

    f)        Click Add >> button, and then Click OK

     

    Please take your time to try the suggestions and let me know the results at your earliest convenience. If anything is unclear or if there is anything I can do for you, please feel free to let me know.

     

    Hope that helps.

     

    Sincerely

    William Zhou CHN
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    • Marked as answer by Max Meng Friday, May 27, 2011 8:43 AM
    Wednesday, May 25, 2011 8:53 AM
  • This Worked Great!! Thanks!
    Thursday, August 11, 2011 4:56 PM
  • I'm glad to hear that.

    Please click "Vote As Helpful" on the post that helps you. This can be beneficial to other community members reading the thread.

    Sincerely

    William Zhou CHN


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

     

     

    Friday, August 12, 2011 8:27 AM
  • Hello

    I am trying to add an hyperlink command (to open a custom URL in a browser) to the Outlook 2016 ribbon.

    Is the process above still valid for Office 2016 (and Outlook) ?

    Thank you,

    Antoine Delaunay

    Tuesday, October 25, 2016 12:43 PM
  • This worked in Outlook as well. Thank you!
    Monday, September 30, 2019 10:10 AM
  • Thank you William for the instructions. It really helped me. Question - How to deploy this to all users laptop?

    Best Regards,


    Khushi

    Friday, March 13, 2020 10:04 PM