Hi krstcs,
I think that might be the problem. When I go to Ranorex Menu/About, I see that .NET version is 4.0.3xxx something.
Thanks
Search found 5 matches
- Tue Apr 19, 2016 3:49 pm
- Forum: Automation API
- Topic: Microsoft.Office.Interop.Excel: Method 'Cells' not found
- Replies: 4
- Views: 10692
- Tue Apr 19, 2016 1:36 pm
- Forum: Automation API
- Topic: Microsoft.Office.Interop.Excel: Method 'Cells' not found
- Replies: 4
- Views: 10692
Re: Microsoft.Office.Interop.Excel: Method 'Cells' not found
Thank you odklizec, however, yes... I know that code, I know that I can use Excel.Range. My point was to find out the difference why the same C# code works in Ms Visual Studio but not in Ranorex. that's complete mystery to me. The only thing I can think of is that Ranorex sees it different way than ...
- Tue Apr 19, 2016 11:08 am
- Forum: Automation API
- Topic: Microsoft.Office.Interop.Excel: Method 'Cells' not found
- Replies: 4
- Views: 10692
Microsoft.Office.Interop.Excel: Method 'Cells' not found
Hello, following code works well for me in Ms Visual Studio Express but unfortunately not in Ranorex. /* * Created by Ranorex * User: Drake * Date: 4/19/2016 * Time: 6:00 AM * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ using System; using System.Collections.Ge...
- Tue Apr 19, 2016 10:58 am
- Forum: Automation API
- Topic: 'ExcelLibrary' is a 'namespace' but is used like a 'type'
- Replies: 2
- Views: 3909
Re: 'ExcelLibrary' is a 'namespace' but is used like a 'type'
Thanks Alan. I probably found the cause... ExcelLibrary.dll I found yesterday is not as I expected and I am still new to C# :( However I was able to make it work by this: String dtPath = "d:\\ranorexTutorial\\dtLab.xlsx"; ExcelLibrary.SpreadSheet.Workbook workBook = ExcelLibrary.SpreadSheet.Workbook...
- Tue Apr 19, 2016 4:48 am
- Forum: Automation API
- Topic: 'ExcelLibrary' is a 'namespace' but is used like a 'type'
- Replies: 2
- Views: 3909
'ExcelLibrary' is a 'namespace' but is used like a 'type'
Hello, I want to use ExcelLibrary.dll in Ranorex in order to build own methods for dealing with reading and writing from/to xlsx file. But I am unable to deal with following error: "'ExcelLibrary' is a 'namespace' but is used like a 'type' (CS0118) - D:\ranorexTutorial\lab\lab\xls.cs:50,38" I am sur...