欢迎来到淘文阁 - 分享文档赚钱的网站! | 帮助中心 好文档才是您的得力助手!
淘文阁 - 分享文档赚钱的网站
全部分类
  • 研究报告>
  • 管理文献>
  • 标准材料>
  • 技术资料>
  • 教育专区>
  • 应用文书>
  • 生活休闲>
  • 考试试题>
  • pptx模板>
  • 工商注册>
  • 期刊短文>
  • 图片设计>
  • ImageVerifierCode 换一换

    C++操作Excel.pdf

    • 资源ID:90594644       资源大小:20.57MB        全文页数:183页
    • 资源格式: PDF        下载积分:12金币
    快捷下载 游客一键下载
    会员登录下载
    微信登录下载
    三方登录下载: 微信开放平台登录   QQ登录  
    二维码
    微信扫一扫登录
    下载资源需要12金币
    邮箱/手机:
    温馨提示:
    快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如填写123,账号就是123,密码也是123。
    支付方式: 支付宝    微信支付   
    验证码:   换一换

     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    C++操作Excel.pdf

    C+操 作 Excel所需要的Excel.h,与 Excel.cpp文件介绍:这两个文件使用C+6.0导出的,并 且 在 Visual Studio 200骁008下测试通过 Excel.CPP文 件 在 第 2 7 页*头文件Excel.h/Machine generated IDispatch wrapper class(es)created with ClassWizard/_Application wrapper classclass _Application:public COIeDispatchDriver(public:_Application()/Calls COIeDispatchDriver default constructor_Application(LPDISPATCH pDispatch):COIeDispatchDriver(pDispatch)_Application(const _Application&dispatchSrc):COIeDispatchDriver(dispatchSrc)/Attributespublic:/Operationspublic:LPDISPATCH GetApplication();long GetCreator();LPDISPATCH GetParent();LPDISPATCH GetActiveCell();LPDISPATCH GetActiveChart();CString GetActivePrinter();void SetActivePrinter(LPCTSTR IpszNewValue);LPDISPATCH GetActiveSheet();LPDISPATCH GetActiveWindow();LPDISPATCH GetActiveWorkbook();LPDISPATCH GetAddlns();LPDISPATCH GetAssistant();void Calculate();LPDISPATCH GetCells();LPDISPATCH GetCharts();LPDISPATCH GetColumns();LPDISPATCH GetCommandBars();long GetDDEAppReturnCode();void DDEExecute(long Channel,LPCTSTR String);long DDEInitiate(LPCTSTR App,LPCTSTR Topic);void DDEPoke(long Channel,const VARIANT&Item,const VARIANT&Data);VARIANT DDERequest(long Channel,LPCTSTR Item);void DDETerminate(long Channel);VARIANT Evaluate(const VARIANT&Name);VARIANT _Evaluate(const VARIANT&Name);VARIANT ExecuteExcel4Macro(LPCTSTR String);LPDISPATCH lntersect(LPDISPATCH Argl,LPDISPATCH Arg2,const VARIANT&Arg3,constVARIANT&Arg4,const VARIANT&Arg57 const VARIANT&Arg6,const VARIANT&Arg7,constVARIANT&Arg8,const VARIANT&Arg9z const VARIANT&ArglO,const VARIANT&Argil,const VARIANT&Argl2,const VARIANT&Argl3,constVARIANT&Argl4,const VARIANT&Argl5,const VARIANT&Argl6,const VARIANT&Argl7,constVARIANT&Argl8,const VARIANT&Argl9z const VARIANT&Arg20,const VARIANT&Arg21,const VARIANT&Arg22,const VARIANT&Arg23,constVARIANT&Arg24,const VARIANT&Arg25,const VARIANT&Arg26,const VARIANT&Arg27,constVARIANT&Arg28,const VARIANT&Arg29,const VARIANT&Arg30);LPDISPATCH GetNames();LPDISPATCH GetRange(const VARIANT&Celli,const VARIANT&Cell2);LPDISPATCH GetRows();VARIANT Run(const VARIANT&Macro,const VARIANT&Argl,const VARIANT&Arg2,constVARIANT&Arg3,const VARIANT&Arg4,const VARIANT&Arg5z const VARIANT&Arg6,constVARIANT&Arg7,const VARIANT&Arg8,const VARIANT&Arg9,const VARIANT&ArglO,const VARIANT&Argil,const VARIANT&Argl2,constVARIANT&Argl3,const VARIANT&Argl4,const VARIANT&Argl5,const VARIANT&Argl6,constVARIANT&Argl7,const VARIANT&Argl8,const VARIANTS Argl9,const VARIANT&Arg20,const VARIANT&Arg21,const VARIANT&Arg22,constVARIANT&Arg23,const VARIANT&Arg24,const VARIANT&Arg25z const VARIANT&Arg26,constVARIANT&Arg27,const VARIANT&Arg28,const VARIANT&Arg29,const VARIANT&Arg30);VARIANT _Run2(const VARIANT&Macro,const VARIANT&Argl,const VARIANT&Arg2,constVARIANT&Arg3,const VARIANT&Arg4z const VARIANT&Arg5,const VARIANT&Arg6,constVARIANT&Arg7,const VARIANT&Arg8,const VARIANT&Arg9,const VARIANT&ArglO,const VARIANT&Argil,const VARIANT&Argl2,constVARIANT&Argl3,const VARIANT&Argl4,const VARIANT&Argl5,const VARIANT&Argl6,constVARIANT&Argl7z const VARIANT&Argl8,const VARIANT&Argl9,const VARIANT&Arg20,const VARIANT&Arg21,const VARIANT&Arg22,constVARIANT&Arg23,const VARIANT&Arg24,const VARIANT&Arg25,const VARIANT&Arg26,constVARIANT&Arg27,const VARIANT&Arg28,const VARIANT&Arg29,const VARIANT&Arg30);LPDISPATCH GetSelection();void SendKeys(const VARIANT&Keys,const VARIANT&Wait);LPDISPATCH GetSheets();LPDISPATCH GetThisWorkbook();LPDISPATCH Union(LPDISPATCH Argl,LPDISPATCH Arg2,const VARIANT&Arg3,constVARIANT&Arg4,const VARIANT&Arg5,const VARIANT&Arg6,const VARIANT&Arg7,constVARIANT&Arg8,const VARIANT&Arg9,const VARIANT&ArglO,const VARIANT&Argil,const VARIANT&Argl2,const VARIANT&Argl3,const VARIANT&Argl4z constVARIANT&Argl5,const VARIANT&Argl6,const VARIANT&Argl7,const VARIANT&Argl8z constVARIANT&Argl9,const VARIANT&Arg20,const VARIANT&Arg21,const VARIANT&Arg22,const VARIANT&Arg23,const VARIANT&Arg24,constVARIANT&Arg25,const VARIANT&Arg26,const VARIANT&Arg27,const VARIANT&Arg28,constVARIANT&Arg29,const VARIANT&Arg30);LPDISPATCH GetWindows();LPDISPATCH GetWorkbooks();LPDISPATCH GetWorksheetFunction();LPDISPATCH GetWorksheets();LPDISPATCH GetExcel4lntlMacroSheets();LPDISPATCH GetExcel4MacroSheets();void ActivateMicrosoftApp(long Index);void AddChartAutoFormat(const VARIANT&Chart,LPCTSTR Name,const VARIANT&Description);void AddCustomList(const VARIANT&ListArray,const VARIANT&ByRow);BOOL GetAlertBeforeOverwritingO;void SetAlertBeforeOverwriting(BOOL bNewValue);CString GetAltStartupPath();void SetAltStartupPath(LPCTSTR IpszNewValue);BOOL GetAskToUpdateLinks();void SetAskTollpdateLinks(BOOL bNewValue);BOOL GetEnableAnimations();void SetEnableAnimations(BOOL bNewValue);LPDISPATCH GetAutoCorrect();long GetBuild();BOOL GetCalculateBeforeSave();void SetCalculateBeforeSave(BOOL bNewValue);long GetCalculation();void SetCalculation(long nNewValue);VARIANT GetCaller(const VARIANT&Index);BOOL GetCanPlaySounds();BOOL GetCanRecordSounds();CString GetCaption();void SetCaption(LPCTSTR IpszNewValue);BOOL GetCellDragAndDrop();void SetCellDragAndDrop(BOOL bNewValue);double CentimetersToPoints(double Centimeters);BOOL CheckSpelling(LPC7rSTR Word,const VARIANT&CustomDictionary,const VARIANT&IgnoreUppercase);VARIANT GetClipboardFormats(const VARIANT&Index);BOOL GetDisplayClipboardWindow();void SetDisplayClipboardWindow(BOOL bNewValue);long GetCommandUnderlinesO;void SetCommandUnderlines(long nNewValue);BOOL GetConstrainNumeric();void SetConstrainNumeric(BOOL bNewValue);VARIANT ConvertFormula(const VARIANT&Formula,long From Ref e re n ce Sty I e,constVARIANT&ToReferenceStyle,const VARIANT&ToAbsolute,const VARIANT&RelativeTo);BOOL GetCopyObjectsWithCells();void SetCopyObjectsWithCells(BOOL bNewValue);long GetCursor();void SetCursor(long nNewValue);long GetCustomListCount();long GetCutCopyMode();void SetCutCopyMode(long nNewValue);long GetDataEntryMode();void SetDataEntryMode(long nNewValue);CString Get_Default();CString GetDefaultFilePath();void SetDefaultFilePath(LPCTSTR IpszNewValue);void DeleteChartAutoFormat(LPCTSTR Name);void DeleteCustomList(long ListNum);LPDISPATCH GetDialogs();BOOL GetDisplayAlerts();void SetDisplayAlerts(BOOL bNewValue);BOOL GetDisplayFormulaBarO;void SetDisplayFormulaBar(BOOL bNewValue);BOOL GetDisplayFullScreen();void SetDisplayFullScreen(BOOL bNewValue);BOOL GetDisplayNotelndicator();void SetDisplayNotelndicator(BOOL bNewValue);long GetDisplayCommentlndicatorO;void SetDisplayCommentlndicator(long nNewValue);BOOL GetDisplayExcel4Menus();void SetDisplayExcel4Menus(BOOL bNewValue);BOOL GetDisplayRecentFiles();void SetDisplayRecentFiles(BOOL bNewValue);BOOL GetDisplayScrollBars();void SetDisplayScrollBars(BOOL bNewValue);BOOL GetDisplayStatusBar();void SetDisplayStatusBar(BOOL bNewValue);void DoubleClick();BOOL GetEditDirectlylnCell();void SetEditDirectlylnCell(BOOL bNewValue);BOOL GetEnableAutoComplete();void SetEnableAutoComplete(BOOL bNewValue);long GetEnableCancelKey();void SetEnableCancelKey(long nNewValue);BOOL GetEnableSound();void SetEnableSound(BOOL bNewValue);VARIANT GetFileConverters(const VARIANT&Indexl,const VARIANT&Index2);LPDISPATCH GetFileSearch();LPDISPATCH GetFileFind();BOOL GetFixedDecimal();void SetFixedDecimal(BOOL bNewValue);long GetFixedDecimalPlaces();void SetFixedDecimalPlaces(long nNewValue);VARIANT GetCustomListContents(long ListNum);long GetCustomListNum(const VARIANT&ListArray);VARIANT GetOpenFilename(const VARIANT&FileFilter,const VARIANT&Filterindex,constVARIANT&Title,const VARIANT&ButtonText,const VARIANT&MultiSelect);VARIANT GetSaveAsFilename(const VARIANT&InitialFilename,const VARIANT&FileFilter,const VARIANT&Filterindex,const VARIANT&Title,const VARIANT&ButtonText);void Goto(const VARIANT&Reference,const VARIANT&Scroll);double GetHeight();void SetHeight(double newValue);void Help(const VARIANT&HelpFile,const VARIANT&HelpContextID);BOOL GetlgnoreRemoteRequests();void SetlgnoreRemoteRequests(BOOL bNewValue);double lnchesToPoints(double Inches);VARIANT lnputBox(LPCTSTR Prompt,const VARIANT&Title,const VARIANT&Default,constVARIANT&Left,const VARIANT&Top,const VARIANT&HelpFile,const VARIANT&HelpContextID,const VARIANT&Type);BOOL Getlnteractive();void Setlnteractive(BOOL bNewValue);VARIANT Getlnternational(const VARIANT&Index);BOOL Getlteration();void Setlteration(BOOL bNewValue);double GetLeft();void SetLeft(double newValue);CString GetLibraryPath();void MacroOptions(const VARIANT&Macro,const VARIANT&Description,const VARIANT&HasMenu,const VARIANT&MenuText,const VARIANT&HasShortcutKey,const VARIANT&ShortcutKey,const VARIANT&Category,const VARIANT&StatusBar,const VARIANT&HelpContextID,const VARIANT&HelpFile);void MailLogoff();void MailLogon(const VARIANT&Name,const VARIANT&Password,const VARIANT&DownloadNewMail);VARIANT GetMailSession();long GetMailSystem();BOOL GetMathCoprocessorAvailable();double GetMaxChange();void SetMaxChange(double newValue);long GetMaxlterations();void SetMaxlterations(long nNewValue);BOOL GetMouseAvailable();BOOL GetMoveAfterReturn();void SetMoveAfterReturn(BOOL bNewValue);long GetMoveAfterReturnDirection();void SetMoveAfterReturnDirection(long nNewValue);LPDISPATCH GetRecentFiles();CString GetName();LPDISPATCH NextLetter();CString GetNetworkTemplatesPath();LPDISPATCH GetODBCErrors();long GetODBCTimeout();void SetODBCTimeout(long nNewValue);void OnKey(LPCTSTR Key,const VARIANT&Procedure);void OnRepeat(LPCTSTR Text,LPCTSTR Procedure);void OnTime(const VARIANT&EarliestTime,LPCTSTR Procedure,const VARIANT&LatestTime,const VARIANT&Schedule);void OnUndo(LPCTSTR Text,LPCTSTR Procedure);CString GetOnWindow();void SetOnWindow(LPCTSTR IpszNewValue);CString GetOperatingSystem();CString GetOrganizationName();CString GetPath();CString GetPathSeparator();VARIANT GetPreviousSelections(const VARIANT&Index);BOOL GetPivotTableSelection();void SetPivotTableSelection(BOOL bNewValue);BOOL GetPromptForSummarylnfo();void SetPromptForSummarylnfo(BOOL bNewValue);void Quit();void RecordMacro(const VARIANT&BasicCode,const VARIANT&XlmCode);BOOL GetRecordRelative();long GetReferenceStyle();void SetReferenceStyle(long nNewValue);VARIANT GetRegisteredFunctions(const VARIANT&Indexl,const VARIANT&Index2);BOOL RegisterXLL(LPCTSTR Filename);void Repeat();BOOL GetRollZoomO;void SetRollZoom(BOOL bNewValue);void SaveWorkspace(const VARIANT&Filename);BOOL GetScreenUpdatingO;void SetScreenllpdating(BOOL bNewValue);void SetDefaultChart(const VARIANT&FormatName,const VARIANT&Gallery);long GetSheetslnNewWorkbook();void SetSheetslnNewWorkbook(long nNewValue);BOOL GetShowChartTipNames();void SetShowChartTipNames(BOOL bNewValue);BOOL GetShowChartTipValues();void SetShowChartTipValues(BOOL bNewValue);CString GetStandardFont();void SetStandardFont(LPCTSTR IpszNewValue);double GetStandardFontSize();void SetStandardFontSize(double newValue);CString GetStartupPath();VARIANT GetStatusBar();void SetStatusBar(const VARIANT&newValue);CString GetTemplatesPath();BOOL GetShowToolTips();void SetShowToolTips(BOOL bNewValue);double GetTop();void SetTop(double newValue);long GetDefaultSaveFormatO;void SetDefaultSaveFormat(long nNewValue);CString GetTransitionMenuKey();void SetTransitionMenuKey(LPCTSTR IpszNewValue);long GetTransitionMenuKeyAction();void SetTransitionMenuKeyAction(long nNewValue);BOOL GetTransitionNavigKeys();void SetTransitionNavigKeys(BOOL bNewValue);void Undo();double GetUsableHeight();double GetUsableWidth();BOOL GetUserControl();void SetUserControl(BOOL bNewValue);CString GetUserName_();void SetUserName(LPCTSTR IpszNewValue);CString GetValue();LPDISPATCH GetVbe();CString GetVersion();BOOLGetVisible();void SetVisible(BOOL bNewValue);void Volatile(const VARIANT&Volatile);double GetWidth();void SetWidth(double newValue);BOOL GetWindowsForPens();long GetWindowState();void SetWindowState(long nNewValue);long GetDefaultSheetDirection();void SetDefaultSheetDirection(long nNewValue);long GetCursorMovement();void SetCursorMovement(long nNewValue);BOOL GetControlCharacters();void SetControlCharacters(BOOL bNewValue);BOOL GetEnableEvents();void SetEnableEvents(BOOL bNewValue);BOOL Wait(const VARIANT&Time);BOOL GetExtendList();void SetExtendList(BOOL bNewValue);LPDISPATCH GetOLEDBErrors();CString GetPhonetic(const VARIANT&Text);LPDISPATCH GetCOMAddlns();LPDISPATCH GetDefaultWebOptions();CString GetProductCode();CString GetUserLibraryPath();BOOL GetAutoPercentEntry();void SetAutoPercentEntry(BOOL bNewValue);LPDISPATCH GetLanguageSettings();LPDISPATCH GetAnswerWizard();void CalculateFull();BOOLFindFile();long GetCalculationVersion();BOOL GetShowWindowslnTaskbar();void SetShowWindowslnTaskbar(BOOL bNewValue);long GetFeaturelnstall();void SetFeaturelnstall(long nNewValue);BOOLGetReadyO;LPDISPATCH GetFindFormat();void SetRefFindFormat(LPDISPATCH newValue);LPDISPATCH GetReplaceFormat();void SetRefReplaceFormat(LPDISPATCH newValue);LPDISPATCH GetUsedObjects();long GetCalculationState();long GetCalculationlnterruptKey();void SetCalculationlnterruptKey(long nNewValue);LPDISPATCH GetWatches();BOOL GetDisplayFunctionToolTips();void SetDisplayFunctionToolTips(BOOL bNewValue);long GetAutomationSecurityO;void SetAutomationSecurity(long nNewValue);LPDISPATCH GetFileDialog(long fileDialogType);void CalculateFullRebuild();BOOL GetDisplayPasteOptions();void SetDisplayPasteOptions(BOOL bNewValue);BOOL GetDisplaylnsertOptions();void SetDisplaylnsertOptions(BOOL bNewValue);BOOL GetGenerateGetPivotData();void SetGenerateGetPivotData(BOOL bNewValue);LPDISPATCH GetAutoRecover();long GetHwnd();long GetHinstance();void CheckAbort(const VARIANT&KeepAbort);LPDISPATCH GetErrorCheckingOptions();BOOL GetAutoFormatAsYouTypeReplaceHyperlinks();void SetAutoFormatAsYouTypeReplaceHyperlinks(BOOL bNewValue);LPDISPATCH GetSmartTagRecognizers();LPDISPATCH GetNewWorkbook();LPDISPATCH GetSpellingOptions();LPDISPATCH GetSpeech();BOOL GetMapPaperSize();void SetMapPaperSize(BOOL bNewValue);BOOL GetShowStartupDialog();void SetShowStartupDialog(BOOL bNewValue);CString GetDecimalSeparator();void SetDecimalSeparator(LPCTSTR IpszNewValue);CString GetThousandsSeparator();void SetThousandsSeparator(LPCTSTR IpszNewValue);BOOL G et U seSy ste mSe pa ra to rs();void SetUseSystemSeparators(BOOL bNewValue);LPDISPATCH GetThisCell();LPDISPATCH GetRtd();BOOL GetDisplayDocumentActionTaskPane();void SetDisplayDocumentActionTaskPane(BOOL bNewValue);void DisplayXMLSourcePane(const VARIANT&XmlMap);BOOL GetArbitraryXMLSupportAvailable(););lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll Worksheet wrapper classclass _Worksheet:public COIeDispatchDriver(public:_Worksheet()/Calls COIeDispatchDriver default constructor_Worksheet(LPDISPATCH pDispatch):COIeDispatchDriver(pDispatch)_Worksheet(const _Worksheet&dispatchSrc):COIeDispatchDriver(dispatchSrc)/Attributespublic:/Operationspublic:LPDISPATCH GetApplication();long GetCreator();LPDISPATCH GetParent();void Activate();void Copy(const VARIANT&Before,const VARIANT&After);void Delete();CString GetCodeName();CString Get_CodeName();void Set_CodeName(LPCTSTR IpszNewValue);long Getlndex();

    注意事项

    本文(C++操作Excel.pdf)为本站会员(奔***)主动上传,淘文阁 - 分享文档赚钱的网站仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知淘文阁 - 分享文档赚钱的网站(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    关于淘文阁 - 版权申诉 - 用户使用规则 - 积分规则 - 联系我们

    本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

    工信部备案号:黑ICP备15003705号 © 2020-2023 www.taowenge.com 淘文阁 

    收起
    展开