ByteScout Spreadsheet SDK - C# - Swap Worksheets - ByteScout

ByteScout Spreadsheet SDK – C# – Swap Worksheets

  • Home
  • /
  • Articles
  • /
  • ByteScout Spreadsheet SDK – C# – Swap Worksheets

swap worksheets in C# and ByteScout Spreadsheet SDK

Make swap worksheets in C#

:

Tutorial on how to do swap worksheets in C#

Sample source codes below will show you how to cope with a difficult task, for example, swap worksheets in C#. Swap worksheets in C# can be implemented with ByteScout Spreadsheet SDK. ByteScout Spreadsheet SDK is the SDK that can write and read, modify and calculate Excel and CSV spreadsheets. Most popular formulas are supported. You may import or export data to and from CSV, XML, JSON as well as to and from databases, arrays.

Fast application programming interfaces of ByteScout Spreadsheet SDK for C# plus the instruction and the C# code below will help you quickly learn swap worksheets. To do swap worksheets in your C# project or application you may simply copy & paste the code and then run your app! You can use these C# sample examples in one or many applications.

ByteScout Spreadsheet SDK free trial version is available for download from our website. Free trial also includes programming tutorials along with source code samples.

Try ByteScout Spreadsheet SDK today:  60 Day Free Trial (on-premise) or  Web API (on-demand version)

Program.cs
      
using System; using System.Collections.Generic; using System.Text; using Bytescout.Spreadsheet; using System.Diagnostics; using System.IO; namespace MergeCells { class Program { static void Main(string[] args) { // Create new Spreadsheet Spreadsheet document = new Spreadsheet(); document.LoadFromFile("sample.xls"); // Move page document.Workbook.Worksheets.Move(1, 0); // delete output file if exists already if (File.Exists("Output.xls")){ File.Delete("Output.xls"); } // Save document document.SaveAs("Output.xls"); // Close Spreadsheet document.Close(); // open generated XLS document in default program Process.Start("Output.xls"); } } }

Try ByteScout Spreadsheet SDK today:  60 Day Free Trial (on-premise) or  Web API (on-demand version)

VIDEO

ON-PREMISE VERSION INFORMATION

Get 60 Day Free Trial or Visit ByteScout Spreadsheet SDK Home Page

Explore ByteScout Spreadsheet SDK Documentation

Get ByteScout Spreadsheet SDK Free Training

WEB API

Get Your Free API Key

Explore Web API Documentation

Tutorials:

prev
next