0
//omitted
vector<_bstr_t> cellData;
Excel::_WorksheetPtr pSheet = application->ActiveSheet;
Excel::RangePtr pRange = application->Cells;
_bstr_t cellValue = pRange->Item[1][1]; //single cell
cellData.push_back(cellValue);
//omitted
沒有:
- MFC
- ATL
問:
- 如何將多個單元格(例如A1:B1)複製到矢量中?
- 是否有更多適當的方法,而不是項目?