D
David_liukai
Unregistered / Unconfirmed
GUEST, unregistred user!
el, wb: variant;
try
el:= CreateOleObject('Excel.Application');
wb:= CreateOleObject('Excel.Sheet');
Except
Application.MessageBox('你的机器没有安装Microsoft Excel',
'使用Microsoft Excel', MB_OK+MB_ICONWarning);
Exit;
End;
el.visible:= false;
wb:= el.workBooks.open(ExtractFilePath(application.ExeName)+DeviceFileName);
怎样关闭wb打开的Excel表
try
el:= CreateOleObject('Excel.Application');
wb:= CreateOleObject('Excel.Sheet');
Except
Application.MessageBox('你的机器没有安装Microsoft Excel',
'使用Microsoft Excel', MB_OK+MB_ICONWarning);
Exit;
End;
el.visible:= false;
wb:= el.workBooks.open(ExtractFilePath(application.ExeName)+DeviceFileName);
怎样关闭wb打开的Excel表