I am writing a c# application to get data from excel where the data comes from an excel Reuters Addin.
The Reuters addin creates two excel Ribbons (menu tabs next to "Home", "Insert", etc.) "Thomson Reuters Datastream" and "Thomson Reuters".
In order to use the Retuers addin functions in excel, I first need to press the "Logon" button in the "Thomson Reuters Datastream" ribbon (so that it is green and says "Online" instead of red and "Offline") because it needs to be "Online" or else the Reuters addin functions won't work.
How can I push this button (access the Ribbon and make sure the Logon button is "Online", if not then press the button) from c#?
I am comfortable creating an Excel Application object in C# and manipulating cells etc but don't know how to press an addin's ribbon button.
Any help/guidance is much appreciated!
Thank you!