Skip to content
This repository has been archived by the owner on Mar 9, 2020. It is now read-only.

Getting started example code doesn't compile #21

Closed
roelfveldhuis opened this issue Oct 5, 2017 · 1 comment
Closed

Getting started example code doesn't compile #21

roelfveldhuis opened this issue Oct 5, 2017 · 1 comment

Comments

@roelfveldhuis
Copy link

In the first example code of the Getting Started page on the wiki:

ws.Cells["A1"] = "This is cell A1";

This doesn't compile: Property or indexer 'ExcelRange.this[string]' cannot be assigned to -- it is read only
Maybe instead it should read:

ws.Cells["A1"].Value = "This is cell A1";

I'm not sure though, because I'm just Getting Started with the library.

@JanKallman
Copy link
Owner

Sorry about that, I have changed it. Thanks for reporting it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants