How to add 'Microsoft Excel XX.X Object Library' as Reference in a Project

Ask general questions here.
Manidipta
Posts: 4
Joined: Wed Jan 30, 2019 10:36 pm

How to add 'Microsoft Excel XX.X Object Library' as Reference in a Project

Post by Manidipta » Sat Jun 01, 2019 8:30 am

Hi,
I don't see Microsoft Excel XX.X Object Library under COM tab while trying to add as reference, Can you please help me where cam i find/how can i add? I am using Ranorex 9.0 ver.

Thanks.

User avatar
N612
Posts: 103
Joined: Mon Jul 11, 2016 4:01 pm

Re: How to add 'Microsoft Excel XX.X Object Library' as Reference in a Project

Post by N612 » Mon Jun 03, 2019 7:57 pm

Hi Manidipta,

What are you trying to achieve with this Excel library? Do you have Excel installed on this machine? Can you not use the Microsoft.Office.Interop.Excel under the GAC tab? This is the library I have used to read/right from excel files in code. This issue is likely not related to Ranorex version at all, just something missing in your environment.