Eikon COM Addin

Hi,

I am trying to write a macro that will load the Eikon excel Addin once excel is opened. I am struggling to find the code that will do this. I have tried the below, but without much success. Is it possible to provide vba that will do this?

If Application.COMAddIns("Thomson Reuters Eikon - Microsoft Office").Connect = False Then
Application.COMAddIns("Thomson Reuters Eikon - Microsoft Office").Connect = True

thanks.

Best Answer

  • Alex Putkov.1
    Alex Putkov.1 ✭✭✭✭✭
    Answer ✓

    The index used to select a COM add-in from the COMAddins class returned by Application.COMAddIns is the add-in ProgID, not the friendly name of the COM Add-in, which you can see in Excel Options dialog.
    ProgIDs for Excel COM add-ins can be found in Windows registry. The one for "Thomson Reuters Eikon - Microsoft Office" appears as a key under HKCU\Software\Microsoft\Office\Excel\AddIns, and the ProgID is "PowerlinkCOMAddIn.COMAddIn". So, the command you're looking for is:

    Application.COMAddIns("PowerlinkCOMAddIn.COMAddIn").Connect = True

Answers

  • thanks Alex, works perfectly.

  • https://community.developers.refinitiv.com/discussion/comment/41065#Comment_41065

    how do i use the above line to loads the Datastream Add-in through VB Script?

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.