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: 66.206  | #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
SAM SAM
Determine the "identity" of your emails. Set with SAM the sender and the folder folder for sent items with the help of rules.
email  Send a message