StartDownloadsServiceSamplesWorkshopsContact DeutschEnglish
 
Samples
General
Outlook®
 
Awarded by
Microsoft since 2005:
mvp logo
VBOffice Info
Visitors1716164
Impressions6463917
Links
Imprint
Privacy Policy
Contact
Outlook 2010: Open custom form via your own ribbon
Author: Michael BauerHomepage
Date: 13.10.2010Accessed: 14357
  
Description

In Outlook 2010 you can create your own tab on the ribbon with commands to call VBA functions.

First copy the code into the module 'ThisOutlookSession'. This VBA sample creates a new item in the current folder and uses your custom form ('ipm.note.my_test') for that.

How to create the tab: Click File/Options, then 'Customize Ribbon'. Click 'New Tab', and rename the tab and group if you like.

Now select 'Macros' from the 'Choose commands from' listbox. Select the macro and click the 'Add' button

Public Sub AddMyForm()
  Dim Items as Outlook.Items
  Dim Item as Object
  Set Items=Application.ActiveExplorer.CurrentFolder.Items
  Set Item=Items.Add("ipm.note.my_test")
  Item.Display
End Sub
 
 

ReplyAll alerts you before unintentionally replying all, or if you are a confidential BCC recipient of the ... [more]

 

Access the master category list in the blink of an eye, share your categories in a network, get a reminder service, and ... [more]

 

SAM automatically sets the sender, signature, and folder for sent items, for instance based on the recipient ... [more]

 

OLKeeper reliably prevents users from closing their Outlook window and thus possibly missing reminders or ... [more]