Without:
- MFC
- ATL
using COM, with pure C++, steps taken thus far:
//steps above omitted _ApplicationPtr application(__uuidof(Excel::Application)); //omitted const BSTR wcharFileName = SysAllocString(L'...'); application->Workbooks->Open(wcharFileName); application->put_Visible(10, true);
Question:
- How to then copy a cell, for instance A4, B4 and C4, into an array?
Try this http://support.microsoft.com/kb/216388/en-us