ByteScout simple and easy to understand tutorials are planned to describe the code for both VB.NET beginners and advanced programmers. Want to change document properties with spreadsheet sdk in your VB.NET app? ByteScout Data Extraction Suite is designed for it. 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.
The following code snippet for ByteScout Data Extraction Suite works best when you need to quickly change document properties with spreadsheet sdk in your VB.NET application. IF you want to implement the functionality, just copy and paste this code for VB.NET below into your code editor with your app, compile and run your application. If you want to use these VB.NET sample examples in one or many applications then they can be used easily.
ByteScout Data Extraction Suite free trial version is available on our website. VB.NET and other programming languages are supported.
Imports System Imports System.Collections.Generic Imports System.Text Imports System.IO Imports Bytescout.Spreadsheet Module Module1 Sub Main() ' Create new Spreadsheet Dim document As New Spreadsheet() ' Add new worksheet Dim worksheet As Worksheet = document.Workbook.Worksheets.Add("Sheet1") ' Set some properties document.Workbook.Properties.ApplicationName = "Bytescout Spreadsheet SDK" document.Workbook.Properties.Author = "Bytescout" document.Workbook.Properties.Comments = "Some comments" document.Workbook.Properties.Subject = "Some subject" ' 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