C
Change_On_Insta
Unregistered / Unconfirmed
GUEST, unregistred user!
FExcelApplication:=CreateOleObject('Excel.Application');
FExcelApplication.Visible:=true;
FExcelApplication.Workbooks.Add(xlWBatWorkSheet);
excelworksheet1:=FExcelApplication.Workbooks[1].Worksheets['sheet1'];
//-------------------------------------------HERE!!
FExcelApplication.Run('ATPVBAEN.XLA!Histogram',
excelworksheet1.Range('$B$2:$B$3'),
excelworksheet1.Range('$A$11:$J$25'),
excelworksheet1.Range('$C$2:$C$3'),
True, True , True, False);
出錯說Call Cancellation停止呼叫
FExcelApplication.Visible:=true;
FExcelApplication.Workbooks.Add(xlWBatWorkSheet);
excelworksheet1:=FExcelApplication.Workbooks[1].Worksheets['sheet1'];
//-------------------------------------------HERE!!
FExcelApplication.Run('ATPVBAEN.XLA!Histogram',
excelworksheet1.Range('$B$2:$B$3'),
excelworksheet1.Range('$A$11:$J$25'),
excelworksheet1.Range('$C$2:$C$3'),
True, True , True, False);
出錯說Call Cancellation停止呼叫