What is the aspose cells code equivalent to right clicking on a row in a table in excel and then clicking:
- Insert\Add Row Below
- Insert\Add Row Above
I would like to be able to enumerate through all the tables in a worksheet and add rows and data to each of the tables.
Thanks,
Phil
@philipstone,
Thanks for your query.
Well, you may try to use Worksheet.Cells.InsertRange() or Worksheet.Cells.InsertRow(s) method for the task.
Thanks for your help. Phil
@philipstone,
Thanks for the code segment.
It looks like Worksheet.Cells.InsertRange() works for your needs. Let us know with details and sample files if you still find any issue, we will be happy to assist you soon.