We are converting XLSX and XLSM files to PDFs using the following code.
static public string ConvertExcel(string inputFilePath = "", string outputFilePath = "")
{
string results = "SUCCESS";
try
…...values and adjust size before conversion foreach (Worksheet sheet...text values } // Recalculate formulas to ensure data is fresh workbook...