猎
猎手1号
Unregistered / Unconfirmed
GUEST, unregistred user!
搜索了很多帖子,许多答案都无法实现:
uses ComObj;
var ExcelApp:Variant;
ExcelApp:=CreateOleObject('Excel.Application');
ExcelApp.WorkBooks.Add;
ExcelApp.Worksheets[2].activate;
......
ExcelApp.Range['B33'].merge;
ExcelApp.Range['B33'].VerticalAlignment:=xlCenter; //提示xlCenter未被定义
ExcelApp.Range['B33'].VerticalAlignment:=-4108; //无效
ExcelApp.visible:=true;
谁能告诉我该如何解决?
uses ComObj;
var ExcelApp:Variant;
ExcelApp:=CreateOleObject('Excel.Application');
ExcelApp.WorkBooks.Add;
ExcelApp.Worksheets[2].activate;
......
ExcelApp.Range['B33'].merge;
ExcelApp.Range['B33'].VerticalAlignment:=xlCenter; //提示xlCenter未被定义
ExcelApp.Range['B33'].VerticalAlignment:=-4108; //无效
ExcelApp.visible:=true;
谁能告诉我该如何解决?