Es posible almacenar fórmulas con la clase TExcels de Viktor?
Como?
Fórmulas con la clase TExcels
- jose_murugosa
- Posts: 1196
- Joined: Mon Feb 06, 2006 4:28 pm
- Location: Uruguay
- Been thanked: 1 time
- Contact:
- Vikthor
- Posts: 289
- Joined: Fri Oct 07, 2005 5:20 am
- Location: México
- Has thanked: 2 times
- Been thanked: 3 times
Aquí te dejo el método :
Code: Select all | Expand
METHOD Formula( nRow , nCol , cValue ) CLASS TExcelScript // [ Vikthor ]
#IFDEF __XHARBOUR__
TRY
::oSheet:Cells( nRow , nCol ):FormulaLocal:=cValue
CATCH
MsgStop( "La formula no es correcta "+cValue , "Aviso al usuario")
END
#ELSE
::oSheet:Cells( nRow , nCol ):FormulaLocal:=cValue
#ENDIF
RETURN( Nil )
Vikthor
- jose_murugosa
- Posts: 1196
- Joined: Mon Feb 06, 2006 4:28 pm
- Location: Uruguay
- Been thanked: 1 time
- Contact: