I use C# & Excel Intropt.dll for my project
I want Open my xlsx file and adding a value (For Example “1”) to All Of my cells in Sheet1.
How can i achieve this?
Like this:
12 14 19 22
81 91 26 62
Result:
13 15 20 23
82 92 27 63
You can use this snippet. Cells[1,1] is the first cell at the top left corner. This gets the first sheet, but you can also reference them by name.