Is there a Refinitiv Workspace COM API for Excel VBA?
Hi team,
I am using Refinitiv Workspace now and I have used Eikon before.
On Refinitiv Workspace, the traditional Excel formulas such as =RHistory() works well. However, COM API cannot work. For example, the older "RHistoryAPI.xlsm" tutorial program (publicly downloadable under Eikon COM API section of this website) cannot work under Refinitiv Workspace -- Excel will give a "cannot find library" error message.
In Excel, go to its VBA editor, looking at References, the previous references are all missing now under Refinitiv Workspace. Missing references include:
- RHistoryAPI
- PLSynchronizationMgr 1.0 Type Library
- Dex2 1.1 Type Library
So, my questions are as follows:
- Is there a way to use Excel VBA to access data under Refinitiv Workspace (i.e., to use COM API)?
- Is COM API something that is going to be discontinued eventually under Refinitiv Workspace (or even to be discontinued under Eikon)? If so, how many years, say roughly, can clients still expect to use their COM API in Excel VBA before it gets shut down?
Thank you!
Best Answer
-
@ttgg So thanks for your question. Refinitiv Workspace does not ship with our older COM APIs - instead we have the Eikon Data API (EDAPI) , Refinitiv Data Platform Platform (RDP) libraries and most recently the Refinitiv Data (RD) Libraries. These more modern Web APIs are designed to work with more modern workflows such as Python, .NET, TypeScript for different types of use case.
The COM APIs are still current for our Eikon Desktop but they can be used with that product only not Workspace currently. Further all the new content that is becoming available via RDP will only be accessible from the newer APIs. However, I can reflect your request to the API product management team.
Is there a need for you to continue to work with VBA? If you still want to use Excel - there are are fantastic solutions such as XLwings which can allow Python/Excel Interop (as an alternative to VBA). We have an EDAPI Article and RDP Article showing this - I think you may be impressed. The workflow is much simpler and infinitely more powerful and robust imo (I was long-term VBA coder from the 90s and would not return to VBA - I have used Python for last 8 years mainly). As a student looking forward - I think the sooner you move to Python the better for you imo. Those aren't only my sentiments they are the sentiments of the financial industry in general. See this for example from 2019.
Alternatively, I think you may be able to use our .NET RDP libs with VBA with a little gymnastics - though I haven't tried this. A good start might be something like this from O'Reilly. I will have a chat with a colleague and see if I can come up with something more concrete around .NET/VBA (COM) interop.
I hope this can help.
0
Answers
-
Hi Jason,
Thank you so much for your kind and detailed answer. Two quick follow ups, if I may:
- When would the COM API retire on the Eikon platform? Is there a rough estimation for the timeline? So that I know VBA programs will have to shut down by 20XX?
- The XLwings seems to be a fantastic solution going forward. I appreciate you gave that two links for me to read further. Is there a more centralized place on this forum where I can read extensively into "how to use Refinitiv Python API within Microsoft Excel"?
Thank you.
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛