Accessing a Cell value of an Excel from code

Class library usage, coding and language questions.
pramoodd
Posts: 13
Joined: Tue Mar 26, 2013 8:45 am

Accessing a Cell value of an Excel from code

Post by pramoodd » Fri Apr 05, 2013 11:51 am

Apart from Interop,

are there any predefined things to-get excel cell value from code?

wanna get a cell from excel in to a sting in Program.cs.
If possible provide me with an example.
thanks in advance.

:)

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Accessing a Cell value of an Excel from code

Post by Support Team » Mon Apr 08, 2013 3:41 pm

Hello,

What is the reason for this?
You can find a little example how to access specific cells in an excel sheet in the blog "Excel Test Automation Plug-In for Ranorex".
In general you can access the values within the excel sheet using the Excel data connector which would be more comfortable.

Regards,
Bernhard
.
Image