Display Custom Ribbon Tabs in Outlook when Template is opened

Paul Goldstein 116 Reputation points
2022-02-24T18:02:03.917+00:00

I have several Outlook Templates (*.oft) that use Custom Tabs in the Ribbon (which I have customized through: File/Options/Customize Ribbon). There are two different tabs, but I only need to display one of them depending on which template I am using.
Currently, I am launching the templates by double-clicking on them in Windows Explorer.
I am using Outlook 365.
Any ideas would be greatly appreciated.
Thank you for your time in advance.
Sincerely,
Paul Goldstein

Outlook | Windows | Classic Outlook for Windows | For business
Developer technologies | Visual Basic for Applications
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Faery Fu-MSFT 19,751 Reputation points Moderator
    2022-02-25T09:50:40.46+00:00

    Hi @Paul Goldstein ,

    Welcome to our forum!

    I only need to display one of them depending on which template I am using.

    I'm afraid it is not feasible to customize command to directly open the specific template in Outlook itself.

    But you can add a new button to the “Home” tab on the Outlook ribbon to open the “Choose Form” panel directly from there without via New Items > More Items > Choose From, here are the steps:
    Scroll down to and select “Choose Form”, add the button to the “Home” tab , click “New,” and then click “New Group”.
    Click the new group that’s added, and then click “Rename”, change the name to “Templates”, click ok.
    177797-1.png
    Add the Choose From to the Templates group and click ok.

    177837-2.png
    177804-home.png


    If the answer is helpful to you, please click "Accept Answer" and kindly upvote it to help others with the same problem.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. 

    0 comments No comments

  2. Paul Goldstein 116 Reputation points
    2022-02-25T16:26:23.86+00:00

    Hi @Faery Fu-MSFT ,
    Thank you for writing.
    I believe that you misinterpreted my question. I’m not asking how to open a Template from the Ribbon, I’m trying to find out if:

    When the Template loads, is there some way (in VBA) to have the Template choose which Custom Ribbon tabs to display

    Thank you for your time in advance.
    Sincerely,
    Paul Goldstein


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.