Excel export problem(100分)

  • 主题发起人 主题发起人 dragonlee007
  • 开始时间 开始时间
D

dragonlee007

Unregistered / Unconfirmed
GUEST, unregistred user!
I use Texcelexport control to create a programme.when i export table to excel,
it shows error : ole error.
 
你装了Excel了吗?
要不就用VBA
 
environment :

1.excel 97
2.mdac 2.5
3.texcelexport control
 
用2000试试
 
哪儿可以下的,要不我帮你试试
 
有一个叫XLSReader/Write的控件,可以脱离office2000的环境是读写exsle文件,挺好的。
我一直用它,只是对表格属性控制稍微有些不便。你可试一试。
 
你去下URL http://www.torry.net/db/direct/msexcel/aexcel.zip
我试过可以的。
安装时,随便复制一个Email4.res
运行Demo时
{ ************** REMOVE THIS ************** }
//{$DEFINE UltraSpeed}
{ ************** REMOVE THIS ************** }
 
In fact, i have one component to export to excel ,but it acts as save to excel
file format directly,not open excel and save data to excel file in excel .
i use d5.
thanks a lot.
 
你如何知道不是组件的错?

看看你的Texcelexport 是否支持97,要知道调用97和2000是有很多不一样的地方,DELPHI
本身已经带有输出到EXCEL的组件,何必舍近求远。
 
only it is surprised that sometimes it can work correctly,sometimes it shows error as above.
i try it again and again.now i have to save it directly.not open it in excel.
 
now i only know why it works not correctly!
if we discuss it ,please continue.
thank you very much !!!
to cxz9:
if you want it ,i can email you . please tell me your e_addr.
it is source.
i tell you it belongs to the one who write it.
 
thanks.
please receive scores.
 
后退
顶部