Writing data to Excel XLS file in Visual Basic.NET using Bytescout Spreadsheet SDK for .NET

This example contains source code example for Visual Basic.NET and Bytescout Spreadsheet SDK. Writing “Hello, World!” simple XLS document in VB.NET.

XLS document generated from VIsual Basic.NET application using Bytescout Spreadsheet lib

Dim document As New Spreadsheet()

Dim worksheet As Worksheet = document.Workbook.Worksheets.Add(“HelloWorld“)

worksheet.Cell(0, 0).Value = “Hello, World!”

document.SaveAs(“HelloWorld.xls”)

Download example source code: bytescoutxls_visual_basic_net.zip (9 KB)