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.



Recommended Word Productivity Tools

 

Kutools For Word - More Than 100 Advanced Features For Word, Save Your 50% Time

  • Complicated and repeated operations can be done one-time processing in seconds.
  • Insert multiple images across folders into Word document at once.
  • Merge and combine multiple Word files across folders into one with your desired order.
  • Split the current document into separate documents according to heading, section break or other criteria.
  • Convert files between Doc and Docx, Docx and PDF, collection of tools for common conversions and selection, and so on...
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.