Ver Mensaje Individual
  #2  
Antiguo 19-06-2007
Avatar de roman
roman roman is offline
Moderador
 
Registrado: may 2003
Ubicación: Ciudad de México
Posts: 20.269
Reputación: 10
roman Es un diamante en brutoroman Es un diamante en brutoroman Es un diamante en bruto
Prueba esto:

Código Delphi [-]
var
  Excel, Libro: OleVariant;

begin
  ExcelApp := CreateOleObject('Excel.Application');
  Libro := ExcelApp.Workbooks.Open('C:\ruta\al\archivo.xls');
  Libro.WorkSheets['nombre de la hoja'].Activate;
  ExcelApp.Visible := true;
end;

// Saludos
Responder Con Cita