Thanks for your response Mark, but the problem is that in the rows below 
there are some merged regions and if I use the shisfRows() method, rows 
don't keep their format.

Regards,



Once you have removed the row, you need to shift the positions of the 
remaing
rows. Take a look at the shiftRows() methods defined on the HSSFSheet 
class.
Further, there is an example here
http://poi.apache.org/spreadsheet/quick-guide.html#ShiftRows

Yours

Mark B

--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/Remove-rows-from-excel-tp3414141p3414215.html

Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



**********************************************************************************************
No imprimas este correo si no es absolutamente necesario. Piensa en el medio 
ambiente.

Este mensaje y los ficheros anexos que, en su caso, incorpore pueden contener 
información confidencial o 
de uso exclusivamente interno de CAJA DE AHORROS DE VALENCIA, CASTELLON y 
ALICANTE, 
BANCAJA, sujeto a secreto profesional.
Si Ud. lo recibe por error o considera que no es el destinatario del mismo, 
debera destruirlo y comunicar al 
emisor esta circunstancia, no pudiendo en ningzn caso distribuir, divulgar ni 
copiar el mensaje.

**********************************************************************************************

Reply via email to