Quantcast
Channel: EPPlus Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 2262

Commented Issue: Indexing a cell in an ExcelRange modifies the ExcelRange [14827]

$
0
0
I create a cell range from an ExcelWorkSheet object, then reference a cell in that range.

```
var range = sheet.Cells[1, 1, 5, 5];

var a1 = range.Address;
var c = range['B2'];
var a2 = range.Address;

Assert.AreEqual(a1, a2); // THIS FAILS
```

However, while a1 is equal to "A1:E5", a2 is equal to "B2". This seems wrong. How am I supposed to go about accessing cells in a range without the index operator?

VS2012, Windows 7, .NET Framework 4.5
Comments: This seems like a duplicate of https://epplus.codeplex.com/workitem/13190

Viewing all articles
Browse latest Browse all 2262

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>