佚名通过本文主要向大家介绍了vc++ excel,vc++6.0官方下载,vc++,vc++辅助,vc++设置图标等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
问题: 如何用vc++ 为excel的工作表新增表单页?
描述:
描述:
如何用vc++ 为excel的工作表新增表单页?
我的代码如下,但始终报错
Excel::SheetsPtr m_pWorksheets;
_variant_t vOpt((long)DISP_E_PARAMNOTFOUND, VT_ERROR);
_variant_t vTemplatePath = _variant_t("E:\\1.xls");
m_pWorksheets->Add( vOpt, _variant_t(1), vOpt, vTemplatePath);