var
EA:variant;
i:integer;
begin
EA:=CreateOleObject('Excel.Application');
EA.workbooks.open('c:/excalfilename.xls');
EA.workbooks.open('c:/tagExcel.xls');
for i:=1 to EA.workbooks[1].worksheets.count do
begin
EA.workbooks[1].worksheets.copy(EA.workbooks[2].worksheets[1]);
end;
EA.workbooks[2].save;
EA.quit;