How to get Excel cell value in C++
If someone knows how to go from Excel::Window pointer to real value in opened Excel cell, please let me know. Here is the task conditions: - Excel is currently running in one single window with one workbook on one sheet - some cells have data (to simplify let's say only one cell[1,1] has data, which is "a") The question is how to find out that only one cell has data, and cell is [1,1] and the data is "a". To start with here is a code snippet: int main( int argc, CHAR* argv[]) { CoInitialize( NULL ); HWND excelWindow = FindWindow(L"XLMAIN", NULL); EnumChildWindows(excelWindow, (WNDENUMPROC)