Ir al contenido


Foto

[TRUCO DELPHI] Traer el contenido de una Celda de Excel.


  • Por favor identifícate para responder
No hay respuestas en este tema

#1 sir.dev.a.lot

sir.dev.a.lot

    Advanced Member

  • Miembros
  • PipPipPip
  • 545 mensajes
  • Location127.0.0.1

Escrito 09 diciembre 2016 - 03:07

[TRUCO DELPHI] Traer el contenido de una Celda de Excel.


delphi
  1. Function ExcelGetCellValue(Excel : Variant; RowNum, ColNum: Integer): ShortString;
  2. Begin
  3. Result := '';
  4. Try
  5. Result := Excel.Cells[RowNum, ColNum].Value;
  6. Except
  7. Result := '';
  8. End;
  9. End;

Saludos!


  • 1




IP.Board spam blocked by CleanTalk.