Ir al contenido


Foto

[TRUCO DELPHI] Traer la formula de una Celda en 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:01

[TRUCO DELPHI] Traer la formula de una Celda en Excel.


delphi
  1. Function ExcelGetCellFormula(
  2. Excel : Variant;
  3. RowNum, ColNum: Integer): ShortString;
  4. Begin
  5. Result := ' ';
  6. Try
  7. Result := Excel.
  8. ActiveSheet.
  9. Cells[RowNum, ColNum].
  10. Formula;
  11. Except
  12. Result := ' ';
  13. End;
  14. End;

Saludos!


  • 1




IP.Board spam blocked by CleanTalk.