Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

Created Unassigned: Function cross-sheet reference with spaces [9448]

$
0
0
When a formula requires a cross-sheet cell reference, the usual syntax is something like:

```
IF(Sheet2!A1>Sheet2!A2,"bigger","smaller")
```

But when the sheet name has spaces, the sheet names must be wrapped by single quotes:

```
=IF('Sheet 3'!A2>'Sheet 3'!A3,"bigger","smaller")
```

And this seems not to be supported by the CalcEngine module.

In attachment: an Excel file where the cell A1 is correctly computed, whether accessing the cell A2 causes an exception.

Viewing all articles
Browse latest Browse all 1877

Trending Articles



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