An easy to understand sample source code to learn how to convert xls to xlsx with spreadsheet sdk in VB.NET Want to convert xls to xlsx with spreadsheet sdk in your VB.NET app? ByteScout Data Extraction Suite is designed for it. ByteScout Data Extraction Suite is the bundle that includes three SDK tools for data extraction from PDF, scans, images and from spreadsheets: PDF Extractor SDK, Data Extraction SDK, Barcode Reader SDK.
Want to quickly learn? This fast application programming interfaces of ByteScout Data Extraction Suite for VB.NET plus the guidelines and the code below will help you quickly learn how to convert xls to xlsx with spreadsheet sdk. IF you want to implement the functionality, just copy and paste this code for VB.NET below into your code editor with your app, compile and run your application. Enjoy writing a code with ready-to-use sample codes in VB.NET.
The trial version of ByteScout Data Extraction Suite can be downloaded for free from our website. It also includes source code samples for VB.NET and other programming languages.
Imports Bytescout.Spreadsheet Imports System.Diagnostics Imports System.IO Module Module1 Sub Main() ' Open existing XLS file Dim spreadsheet As New Spreadsheet() spreadsheet.LoadFromFile("Input.xls") ' delete output file if exists already if File.Exists("Output.xlsx") Then File.Delete("Output.xlsx") End If ' Save it as XLSX spreadsheet.SaveAs("Output.xlsx") ' open output document in default viewer Process.Start("Output.xlsx") End Sub End Module