VBOffice

Get the Outlook Version

This macro tells you which Outlook version is running.

Last modified: 2014/01/01 | Accessed: 53.458  | #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
Reporter Reporter
VBOffice Reporter is an easy to use tool for data analysis and reporting in Outlook. A single click, for instance, allows you to see the number of hours planned for meetings the next month.
email  Send a message