ByteScout Barcode Suite - VB.NET - Select active worksheet with spreadsheet sdk - ByteScout

ByteScout Barcode Suite – VB.NET – Select active worksheet with spreadsheet sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Barcode Suite – VB.NET – Select active worksheet with spreadsheet sdk

How to select active worksheet with spreadsheet sdk in VB.NET and ByteScout Barcode Suite

Learning is essential in computer world and the tutorial below will demonstrate how to select active worksheet with spreadsheet sdk in VB.NET

An easy to understand sample source code to learn how to select active worksheet with spreadsheet sdk in VB.NET 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). It can be applied to select active worksheet with spreadsheet sdk using VB.NET.

This prolific sample source code in VB.NET for ByteScout Barcode Suite contains various functions and other necessary options you should do calling the API to select active worksheet with spreadsheet sdk. Just copy and paste the code into your VB.NET application’s code and follow the instructions. Use of ByteScout Barcode Suite in VB.NET is also described in the documentation included along with the product.

ByteScout provides the free trial version of ByteScout Barcode Suite along with the documentation and source code samples.

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

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

Module1.vb
      
Imports Bytescout.Spreadsheet Imports System.IO Module Module1 Sub Main() ' Create new Spreadsheet Dim document As New Spreadsheet() ' Add new worksheets Dim worksheet1 As Worksheet = document.Workbook.Worksheets.Add("Worksheet1") Dim worksheet2 As Worksheet = document.Workbook.Worksheets.Add("Worksheet2") Dim worksheet3 As Worksheet = document.Workbook.Worksheets.Add("Worksheet3") ' Activate worksheet2 worksheet2.Active = True ' remove output file if already exists If File.Exists("Output.xls") Then File.Delete("Output.xls") End If ' Save document document.SaveAs("Output.xls") ' Close Spreadsheet document.Close() ' open in default spreadsheets viewer/editor Process.Start("Output.xls") End Sub End Module

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