Quantcast
Channel: Open XML Format SDK forum
Viewing all articles
Browse latest Browse all 1288

How to delete all data in Excel file with Open Xml Sdk

$
0
0

Hi Team,

I want to delete the data from excel sheet data from open xml.

Please guide me,not only single cell ,want to to delete entire data from one specified sheet and save it.

Not working code:

worksheet = GetWorksheet(ref wbPart, ref sheet, ref worksheetPart, ref worksheet, "Sheet Name", document);
 worksheet.ClearAllAttributes();

thanks


Viewing all articles
Browse latest Browse all 1288

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>