S
S
SG15542019-07-09 20:42:08
C++ / C#
SG1554, 2019-07-09 20:42:08

Working with Excel in C#?

How to find out what is located at the address of a specific cell
inside an excel spreadsheet file

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Artem Voronov, 2019-07-10
@newross

https://github.com/JanKallman/EPPlus

S
stictt, 2019-07-10
@stictt

load a library for working with Excel like Excel.Application or something like that, you specify the path to the book / file, you specify the sheet, you read the cell. list.cells[1,1].value or something like that

B
BasiC2k, 2019-07-10
@BasiC2k

You can find out what is in the cell only by opening the file (you can do it in the background). I don't consider exotic ways to access content (like adodb for example).
Read about "late binding" when opening an Excel file. The code is easy to google and adapt.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question