Create worksheets with spreadsheet sdk is simple to apply in VB.NET if you use these source codes below. What is ByteScout Data Extraction Suite? It is the bundle that includes three SDK tools for data extraction from PDF, scans, images and from spreadsheets: PDF Extractor SDK, Data Extraction SDK, Barcode Reader SDK. It can help you to create worksheets with spreadsheet sdk in your VB.NET application.
This prolific sample source code in VB.NET for ByteScout Data Extraction Suite contains various functions and other necessary options you should do calling the API to create worksheets with spreadsheet sdk. Just copy and paste the code into your VB.NET application’s code and follow the instructions. Applying VB.NET application mostly includes various stages of the software development so even if the functionality works please test it with your data and the production environment.
ByteScout Data Extraction Suite free trial version is available on our website. VB.NET and other programming languages are supported.
Imports Bytescout.Spreadsheet Imports System.IO Module Module1 Sub Main() ' Create new Spreadsheet Dim document = New Spreadsheet() ' Add worksheets Dim worksheet1 As Worksheet = document.Workbook.Worksheets.Add("Demo worksheet 1") Dim worksheet2 As Worksheet = document.Workbook.Worksheets.Add("Demo worksheet 2") ' Get worksheet by name Dim worksheetByName As Worksheet = document.Workbook.Worksheets.ByName("Demo worksheet 2") ' Set cell values worksheet1.Cell(0, 0).Value = "This is Demo worksheet 1" worksheetByName.Cell(0, 0).Value = "This is Demo worksheet 2" ' 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