ByteScout Data Extraction Suite - C# - Select active worksheet with spreadsheet sdk - ByteScout

ByteScout Data Extraction Suite – C# – Select active worksheet with spreadsheet sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Data Extraction Suite – C# – Select active worksheet with spreadsheet sdk

How to select active worksheet with spreadsheet sdk in C# with ByteScout Data Extraction Suite

Learn to select active worksheet with spreadsheet sdk in C#

Sample source code below will display you how to manage a complex task like select active worksheet with spreadsheet sdk in C#. ByteScout Data Extraction Suite is 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 and you can use it to select active worksheet with spreadsheet sdk with C#.

The SDK samples given below describe how to quickly make your application do select active worksheet with spreadsheet sdk in C# with the help of ByteScout Data Extraction Suite. Follow the instructions from scratch to work and copy the C# code. Use of ByteScout Data Extraction Suite in C# is also described in the documentation included along with the product.

ByteScout Data Extraction Suite free trial version is available on our website. C# and other programming languages are supported.

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 Bytescout.Spreadsheet; using Bytescout.Spreadsheet.Constants; using System.Diagnostics; using System.IO; namespace HelloWorld { class Program { static void Main(string[] args) { // Create new Spreadsheet Spreadsheet document = new Spreadsheet(); // Add new worksheets Worksheet worksheet1 = document.Workbook.Worksheets.Add("Worksheet1"); Worksheet worksheet2 = document.Workbook.Worksheets.Add("Worksheet2"); Worksheet worksheet3 = document.Workbook.Worksheets.Add("Worksheet3"); // Activate worksheet2 worksheet2.Active = true; // 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"); } } }

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