Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

NPOI Excel Select multiple rows

c# npoi asp.net hssfworkbook irow isheet excel

This topic has been archived. This means that you cannot reply to this topic.
No replies to this topic

#1 thebigbear

thebigbear

    CC Lurker

  • Just Joined
  • Pip
  • 2 posts

Posted 16 November 2015 - 09:05 AM

Hello all,

I am working with a table that is using multiple rows on a Excel sheet that i am using as a template.

The issue is that i need to select the multiple rows that are being used for the table. Then i can organize the populated data accordingly and the my trips To and From it will make a copy of the table size to put all the data in.

For my previous excel sheets i have made everything was only in 1 row with the headers above the row so i would use the sheet.getRow

like this -

IRow template_row = sheet.GetRow(start_row);

Everything would be populated in this row.

How to select multiple rows i am not sure yet.