VBOffice

Open Custom Form via your own Ribbon

With a button for your templates you can open them with less clicks.

Last modified: 2010/10/13 | Accessed: 22.328  | #85
◀ Previous sample Next sample ▶
OLKeeper OLKeeper
OLKeeper reliably prevents users from closing their Outlook window and thus possibly missing reminders or e-mails.

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 a custom form named ipm.note.my_test.

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


tip  How to add macros to Outlook
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
Category-Manager Category-Manager
Access the master category list in the blink of an eye, share your color categories in a network, get a reminder service, and more.
email  Send a message