ByteScout Data Extraction Suite - C# - Convert xls to xlsx with spreadsheet sdk - ByteScout

ByteScout Data Extraction Suite – C# – Convert xls to xlsx with spreadsheet sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Data Extraction Suite – C# – Convert xls to xlsx with spreadsheet sdk

How to convert xls to xlsx with spreadsheet sdk in C# using ByteScout Data Extraction Suite

Continuous learning is a crucial part of computer science and this tutorial shows how to convert xls to xlsx with spreadsheet sdk in C#

The sample source codes on this page shows how to convert xls to xlsx with spreadsheet sdk in C#. ByteScout Data Extraction Suite: the set that includes 3 SDK products for data extraction from PDF, scans, images and from spreadsheets: PDF Extractor SDK, Data Extraction SDK, Barcode Reader SDK. It can convert xls to xlsx with spreadsheet sdk in C#.

This prolific sample source code in C# for ByteScout Data Extraction Suite contains various functions and other necessary options you should do calling the API to convert xls to xlsx with spreadsheet sdk. Just copy and paste the code into your C# application’s code and follow the instructions. Want to see how it works with your data then code testing will allow the function to be tested and work properly.

If you want to try other source code samples then the free trial version of ByteScout Data Extraction Suite is available for download from our website. Just try other source code samples for C#.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

Program.cs
      
using System; using System.Collections.Generic; using System.Text; using System.IO; using Bytescout.Spreadsheet; using System.Diagnostics; namespace CSharp { class Program { static void Main(string[] args) { // Open existing XLS file Spreadsheet spreadsheet = new Spreadsheet(); spreadsheet.LoadFromFile("Input.xls"); // delete output file if exists already if (File.Exists("Output.xlsx")){ File.Delete("Output.xlsx"); } // Save document spreadsheet.SaveAs("Output.xlsx"); // Close Spreadsheet spreadsheet.Close(); // open generated XLSX document in default program Process.Start("Output.xlsx"); } } }

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Data Extraction Suite Home Page

Explore ByteScout Data Extraction Suite Documentation

Explore Samples

Sign Up for ByteScout Data Extraction Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Data Extraction Suite Home Page

Explore ByteScout Data Extraction Suite Documentation

Explore Samples

Sign Up for ByteScout Data Extraction Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next