Guest User

Untitled

a guest
Nov 17th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. tengo un problema al agregar formulas a excel con npoi para empezar no me
  2. reconoce el SetCellFormula() y solo le asigno el tipo CELLType.FORMULA y lo
  3. agrega pero al abrir el archivo [![Error al abrir el archivo excel][1]][1] y en la celda me aparece esto =#N/A alguien me puede ayudar por favor
  4.  
  5. HSSFRow row = (HSSFRow)sheet.GetRow(renglonFinal);
  6. sheet.GetRow(renglonFinal).GetCell(33).SetCellType(CellType.FORMULA);
  7. sheet.GetRow(renglonFinal).GetCell(33).SetCellFormula("SUMA(A10:A20)");
Add Comment
Please, Sign In to add comment