Cookies help us deliver our services. By using our services, you agree to our use of cookies.
Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to check if Outlook is installed on your computer?

When shifting to a new job position with new computer, you may need to check if Outlook is installed on this computer system. How can you quickly check for Outlook while using Microsoft Excel or Word document? Here we provide a method to quickly get it done.

Check if Outlook is installed with VBA code


Check if Outlook is installed with VBA code

Please do as follows to check if Outlook is installed on your computer.

1. If you are using Microsoft Excel or Word, please press the Alt + F11 keys to open the Microsoft Visual Basic for Applications window.

2. In the Microsoft Visual Basic for Applications window, click Insert > Module. Then copy below VBA code into the Module window. See screenshot:

VBA code: Check if Outlook is installed on your computer

Sub Outlook_Check()
    Dim xOLApp As Object
    On Error GoTo L1
    Set xOLApp = CreateObject("Outlook.Application")
    If Not xOLApp Is Nothing Then
        MsgBox "Outlook " & xOLApp.Version & " installed", vbExclamation, "Kutools for Outlook"
        Set xOLApp = Nothing
        Exit Sub
    End If
L1: MsgBox "Outlook not installed", vbExclamation, "Kutools for Outlook"
End Sub

3. Press the F5 key to run the code.

If Outlook is installed on your computer, a Kutools for Outlook dialog box will pop up. And you can see the installed Outlook version as below screenshot shown.

If Outlook is not installed, a prompt box will be displayed as follows.



Kutools for Word

More than 100 Advanced Functions for Word 2003, 2007, 2010, 2013, 2016 and 2019

shot-kutools-700-225-kte

More Features  |  Free Download  |  Only $39.00 for hundreds of functions

Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.