.Net Excel Interop Deleting a worksheet

After more than one hour looking I found the answer:

xlApp.DisplayAlerts = false;
worksheet.Delete();
xlApp.DisplayAlerts = true;

Leave a Comment