I work with excel through the library TXLSFile . How can I insert a blank line after (or before) a certain line?

  • tried to write algorithm of shift of lines? - teanYJ

1 answer 1

In general, he rummaged in the source tried everything possible. It turns out to be terribly easy -

 xf.Workbook.Sheets[0].Rows.InsertRows(0,10); 

This, for example, inserts 10 lines after 1 line.