merge 2
using OfficeOpenXml; using OfficeOpenXml.Style; using System; using System.IO; class Program { static void Main() { // Required by EPPlus ExcelPackage.LicenseContext = LicenseContext.NonCommercial; string filePath = @"C:\Temp\input.xlsx"; // Input file string outputPath = @"C:\Temp\output.xlsx"; // Output file string sheetName = "Config"; // Target sheet using (var package = new ExcelPackage(new FileInfo(filePath))) { var worksheet = package.Workbook.Worksheets[sheetName]; if (worksheet == null) { Console.WriteLine($"Sheet {sheetName} not found!"); ...