如何将excel表格嵌入不打扰用户的表格中? [英] How to embed an excel sheet into a form not disturbing user?
问题描述
嗨朋友们!
我有自己的一个表格的exe应用程序。我想在表格中嵌入一张excel表格。我正在使用ole32.dll中的程序OleCreateFromFile来创建可嵌入的Excel工作表。
这有效,但是有问题。如果在调用OleCreateFromFile时有一个正在运行的excel.application进程,则新的可嵌入excel表将在此excel.application中创建为工作簿。这是可以避免的吗?是否可以在自己的excel.application中单独创建
嵌入式Excel工作表?
谢谢你
您好Egop,
基于
b
OleCreateFromFile函数,恐怕没有参数可以单独创建可嵌入的Excel工作表。
最诚挚的问候,
爱德华跨度>
Hi friends!
I have my own exe-application of one form. I wonna embed an excel sheet into the form. I am using procedure OleCreateFromFile from ole32.dll to create embedable excel sheet.
That works but there is a problem. If at the moment of call OleCreateFromFile there is a running excel.application process then new embedable excel sheet will create as a workbook within this excel.application. Is this avoidable? Is it possible to create
embedable excel sheet separately, within its own excel.application?
Hi Egop,
Based on OleCreateFromFile function, I am afraid there is no parameter to create embeddable excel sheet separately.
Best Regards,
Edward
这篇关于如何将excel表格嵌入不打扰用户的表格中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!