VBOffice

Get the Outlook Version

This macro tells you which Outlook version is running.

Last modified: 2014/01/01 | Accessed: 51.172  | #110
◀ Previous sample Next sample ▶
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.

The entire version number is available in the Application.Version property. The first two digits reveal the major version.

Outlook VersionVersion Number
201315.x
201014.x
200712.x
200311.x
200210.x
20009.x

tip  How to add macros to Outlook
Private Function GetOutlookVersion() As Long
  Dim v as String
  v = left$(Application.Version, 2)
  Select Case v
  Case "8.": GetOutlookVersion = 8
  Case "9.": GetOutlookVersion = 9
  Case Else: GetOutlookVersion = v
  End Select
End Function
OLKeeper OLKeeper
OLKeeper reliably prevents users from closing their Outlook window and thus possibly missing reminders or e-mails.
email  Send a message