VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
In This Topic
    Codecs: How to convert XLS to XLSX?
    In This Topic
    SDK can convert XLS document to an XLSX document.


    Here is C#/VB.NET code that shows how to convert XLS document to an XLSX document:
    /// <summary>
    /// Converts XLS file to a XLSX file.
    /// </summary>
    public static void ConvertXlsToXlsx(string xlsFilePath, string xlsxFilePath)
    {
        Vintasoft.Imaging.Office.OpenXml.OpenXmlDocumentConverter.ConvertXlsToXlsx(xlsFilePath, xlsxFilePath);
    }
    
    ''' <summary>
    ''' Converts XLS file to a XLSX file.
    ''' </summary>
    Public Shared Sub ConvertXlsToXlsx(xlsFilePath As String, xlsxFilePath As String)
        Vintasoft.Imaging.Office.OpenXml.OpenXmlDocumentConverter.ConvertXlsToXlsx(xlsFilePath, xlsxFilePath)
    End Sub