Skip to main content

How to assign a quick launch button to a template in Outlook?

When using template in Outlook, you have to get into the Choose Form window, find the template saving location and then select to open it. This may be somewhat troublesome for most of us. Here I will show you a method to assign a quick launch button to open a specified template in Outlook. After assigning the button, the template will be opened quickly with only one click.

Assign a quick launch button to a template with VBA code

Office Tab - Enable Tabbed Editing and Browsing in Microsoft Office, Making Work a Breeze
Kutools for Outlook - Boost Outlook with 100+ Advanced Features for Superior Efficiency
Boost your Outlook 2021 - 2010 or Outlook 365 with these advanced features. Enjoy a comprehensive 60-day free trial and elevate your email experience!

Assign a quick launch button to a template with VBA code

Please do as follows to assign a quick launch button to a template in Outlook.

1. Press the Alt + F11 keys to open the Microsoft Visual Basic for Applications window.

2. In the Microsoft Visual Basic for Applications window, click Insert > Module. Then copy below VBA code into the Code window.

VBA code: Macro to open template

Sub MakeTemplate()
'Update by Extendoffice 2018/5/24
Dim xDialog As FileDialog
Dim xExcel As Excel.Application
Dim xFilePath As String
Dim xNewItem As Object
On Error Resume Next
xFilePath = CreateObject("WScript.Shell").SpecialFolders(5)
xFilePath = xFilePath & "\Microsoft\Templates\template test.oft"
Set xNewItem = Outlook.Application.CreateItemFromTemplate(xFilePath)
xNewItem.Display True
Set xNewItem = Nothing
End Sub

Note: In the code, "\Microsoft\Templates\template test.oft" is the default template saving path, and template test is the name of the template you will open. Please change them as you need.

3. Click Tools > References. Then enable the Microsoft Excel Object Library box as below screenshot shown.

4. Press the Alt + Q keys to close the Microsoft Visual Basic for Applications window.

5. Click the Customize Quick Access Toolbar > More Commands. See screenshot:

6. In the Outlook Options dialog box, you need to:

6.1 Select Macros from the Choose commands from drop-down list;

6.2 Select the Project1.MakeTamplate in the commands list box;

6.3 Click the Add button;

6.4 Click the OK button. See screenshot:

7. Then the macro button is added on the Quick Access Toolbar. Click on the button will open the specified template immediately. See screenshot:

Related articles:

Best Office Productivity Tools

Kutools for Outlook - Over 100 Powerful Features to Supercharge Your Outlook

πŸ“§ Email Automation: Out of Office (Available for POP and IMAP)  /  Schedule Send Emails  /  Auto CC/BCC by Rules When Sending Email  /  Auto Forward (Advanced Rules)   /  Auto Add Greeting   /  Automatically Split Multi-Recipient Emails into Individual Messages ...

πŸ“¨ Email Management: Easily Recall Emails  /  Block Scam Emails by Subjects and Others  /  Delete Duplicate Emails  /  Advanced Search  /  Consolidate Folders ...

πŸ“ Attachments ProBatch Save  /  Batch Detach  /  Batch Compress  /  Auto Save   /  Auto Detach  /  Auto Compress ...

🌟 Interface Magic: 😊More Pretty and Cool Emojis   /  Boost Your Outlook Productivity with Tabbed Views  /  Minimize Outlook Instead of Closing ...

πŸ‘ One-click Wonders: Reply All with Incoming Attachments  /   Anti-Phishing Emails  /  πŸ•˜Show Sender's Time Zone ...

πŸ‘©πŸΌβ€πŸ€β€πŸ‘©πŸ» Contacts & Calendar: Batch Add Contacts From Selected Emails  /  Split a Contact Group to Individual Groups  /  Remove Birthday Reminders ...

Over 100 Features Await Your Exploration! Click Here to Discover More.

Read More       Free Download      Purchase


Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations