I have some regular emails I send and I don't like having to go to the Developer Tab, click Choose Form, Choose User Templates in File System, and then double-click the form in question. That's way too many steps for this lazy user.

There is some very simple VBA code that will do this and then you can add the button to a Custom Tab. Here's how.

Show Developer Tab

  1. Click the File Tab to bring up the Backstage View
  2. Click Options
  3. Click Customize Ribbon
  4. In the right column check Developer
  5. Keep Options open for next task

Create New Tab and Group

  1. In the right column click New Tab
  2. Click Rename
  3. Name the tab as desired (FORMS)
  4. Click the Group that was automatically created below the Tab
  5. Click Rename
  6. Rename as desired (REPORTS)
  7. Click the New Tab
  8. Use the Up and Down arrows to position the new Tab on the Ribbon as desired
  9. Click OK

Create the Form

  1. Open a New Email message
  2. Fill in the Static Content as desired
  3. Click the File Tab
  4. Click Save As
  5. Change the Save As Type to Outlook Template
  6. Name the file as desired (make note of the name as you will need this later)
  7. Copy the Address of this location from the Address Bar as you will need this shortly

Create the Macro

  1. Click the Developer Tab
  2. Click the Visual Basic Button
  3. Expand Project1
  4. Double click ThisOutlookSession
  5. Paste the Code Snippet below
  6. Sub MakeItem()
    Set newItem = Application.CreateItemFromTemplate("c:\path\template.oft")
    newItem.Display
    Set newItem = Nothing
    End Sub

  7. Replace "c:\path\template.oft" with the file path and file name noted earlier. Keep .oft at the end.
  8. Click the Save Button
  9. Close VBA

Put the Macro on the new Tab

  1. Click the File Tab to bring up the Backstage View
  2. Click Options
  3. Click Customize Ribbon
  4. Expand your new Tab
  5. Click your new Group
  6. From the Choose commands from drop-down select Macros
  7. Select your new macro
  8. Click Add
  9. Click Rename and give the Macro a better name and image
  10. Click OK

Your new command is now available and functioning!

Thanks to Slipstick for the Code Snippet!

For these and other Application solutions check out our IT Support Site and our Training Site.

Tom Liberman's avatar

Tom is a technical trainer and self-published author as he tells everyone ... over and over and over. If you have an application question he's the guy!