本文主要是介绍VC中如何将文件保存为EXCEL格式(CSpreadSheet),希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
//
//类名:CExcelAccessDlg
//功能:对Excel文件进行新建、读写、内部数据行、列、单元格进行
//
//
//作者:徐景周
//组织:未来工作室(Future Studio)
//日期:2003.5.1
/
#include "stdafx.h"
#include "ExcelAccess.h"
#include "ExcelAccessDlg.h"
#include "CSpreadSheet.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/
// CAboutDlg dialog used for App About
class CAboutDlg : public CDialog
{
public:
// Dialog Data
// Implementation
protected:
};
CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD)
{
}
void CAboutDlg::DoDataExchange(CDataExchange* pDX)
{
}
BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
END_MESSAGE_MAP()
/
// CExcelAccessDlg dialog
CExcelAccessDlg::CExcelAccessDlg(CWnd* pParent )
{