I am using an excel file as a SpreadsheetStyle template for an Excel file that contains a pivot table.
I am simply using DocumentFormat.OpenXml.Extensions.WorksheetWriter C# object instance to paste data into the worksheet. The problem I am having is the "(blank)" pivot table placeholder is still in the file.
I can seem to find an example of how to delete this row. I am assuming I would need to remove the row from the source worksheet tab and then refresh but I have only seen examples on how to add rows, not delete specific rows.
Is there an option in the pivot table that I can turn on that I can turn on that gets rid of this blank row in the template file eliminating the need to delete it?
http://www.net4geeks.com Who said I was a geek?