|
|
导航: |
论坛 -> DELPHI技术
斑竹:liumazi,sephil |
|
作者: |
|
2003/8/27 12:32:24 |
标题: |
|
加入我的收藏 |
楼主: |
var xlApp, xlSheet, szValue: Variant; begin xlApp := CreateOleObject('Excel.Application'); try xlSheet := CreateOleObject('Excel.Sheet'); xlSheet := xlApp.WorkBooks.Add; 这样写,为什么报错?[Error] Unit1.pas(105): 未说明标识符: 'CreateObject'
----------------------------------------------
- |
作者: |
hedong (hedong) |
★☆☆☆☆ |
-
|
盒子活跃会员 |
|
2003/8/27 13:21:23 |
1楼: |
在Uses部分加入 Comobj
----------------------------------------------
-
|
|