Roman usted si que es bueno =)
ahora me aparece un error en esta línea:
Código Delphi
[-]var
Excel,celda,Sheet: OLEVariant;
CantRow, CantCol, i, j : Integer;
RangoMatriz,FileName: Variant;
begin
FileName:='C:\SISTEMAPLANILLAS\Libro2.xlsx';
try
Excel := CreateOleObject('Excel.Application');
Excel.Workbooks.Open(FileName);
ShowMessage(FileName);
Sheet := Excel.Workbooks[1].WorkSheets[1];
y marca este error:
Código Delphi
[-]Invalid argumentispatch