Skip to content

Instantly share code, notes, and snippets.

using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Spreadsheet;
using System.Linq;
namespace ExcelHelper
{
public static class ExcelHelper
{
public static WorksheetPart GetWorksheetPartByName(SpreadsheetDocument document, string sheetName)