Quantcast
Channel: NetOffice - MS Office in .NET
Viewing all articles
Browse latest Browse all 1741

New Post: Delete a Row

$
0
0
NetOffice is fantastic. I have managed to work out how to do most actions I need. Some are slightly different to how I would execute in a Excel Macro.

I am just stuck on how to delete a row.

I can get a Row reference, where workSheet is Excel.Worksheet and currentRow is a valid row on the spreadsheet, by:
workSheet.Range("A" + currentRow).Row
But how do I delete the row?

Thx.

Viewing all articles
Browse latest Browse all 1741

Trending Articles