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

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

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

How to convert xls to xlsx with spreadsheet sdk in C# and ByteScout Barcode Suite

Learning is essential in computer world and the tutorial below will demonstrate how to convert xls to xlsx with spreadsheet sdk in C#

The coding instructions are formulated to help you to try-out the features without the requirement to write your own code. ByteScout Barcode Suite is the bundle that privides 3 SDK products to generate barcodes (Barcode SDK), read barcodes (Barcode Reaer SDK) and read and write spreadsheets (Spreadsheet SDK) and you can use it to convert xls to xlsx with spreadsheet sdk with C#.

These C# code samples for C# guide developers to speed up coding of the application when using ByteScout Barcode Suite. Follow the instructions from scratch to work and copy the C# code. Check C# sample code samples to see if they respond to your needs and requirements for the project.

Trial version of ByteScout Barcode Suite is available for free. Source code samples are included to help you with your C# app.

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 Barcode Suite Home Page

Explore ByteScout Barcode Suite Documentation

Explore Samples

Sign Up for ByteScout Barcode 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 Barcode Suite Home Page

Explore ByteScout Barcode Suite Documentation

Explore Samples

Sign Up for ByteScout Barcode Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next