在vc中实现,请教大家

解决方案 »

  1.   

    插入Word对象,然后调用Application.word 的打印功能
      

  2.   

    你阅读MSDN (October 2001)文章:
    Q184663 HOWTO: Embed and Automate a Microsoft Excel worksheet with MFC 
    Q179706 HOWTO: Use MFC to Automate Excel & Create/Format a New Workbook 
    Q186120 HOWTO: Use MFC to Automate Excel and Fill a Range with an Array 
    Q186427 HOWTO: Catch Microsoft Excel 97 Application Events Using VC++ 会对你有帮助。
    如果要在你的程序中嵌入word等,可以使用htmlview实现。