ByteScout Barcode Suite - VB.NET - Read xml spreadsheet (spreadsheetml format) with spreadsheet sdk - ByteScout
Announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More Open modal
Close modal
Announcement Important Update
ByteScout SDK Sunsetting Notice
Our ByteScout SDK products are sunsetting as we focus on our new & improved solutions. Thank you for being part of our journey, and we look forward to supporting you in this next chapter!

ByteScout Barcode Suite – VB.NET – Read xml spreadsheet (spreadsheetml format) with spreadsheet sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Barcode Suite – VB.NET – Read xml spreadsheet (spreadsheetml format) with spreadsheet sdk

How to read xml spreadsheet (spreadsheetml format) with spreadsheet sdk in VB.NET and ByteScout Barcode Suite

Continuous learning is a crucial part of computer science and this tutorial shows how to read xml spreadsheet (spreadsheetml format) with spreadsheet sdk in VB.NET

The sample source codes on this page shows how to read xml spreadsheet (spreadsheetml format) with spreadsheet sdk in VB.NET. ByteScout Barcode Suite can read xml spreadsheet (spreadsheetml format) with spreadsheet sdk. It can be applied from 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).

Want to save time? You will save a lot of time on writing and testing code as you may just take the VB.NET code from ByteScout Barcode Suite for read xml spreadsheet (spreadsheetml format) with spreadsheet sdk below and use it in your application. Simply copy and paste in your VB.NET project or application you and then run your app! Use of ByteScout Barcode Suite in VB.NET is also described in the documentation included along with the product.

ByteScout Barcode Suite free trial version is available on our website. VB.NET 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.vb
      
Imports Bytescout.Spreadsheet Module Program Sub Main() Try ' Convert SpreadhseetML (xml spreadsheet) to XLSX format Using spreadsheet As New Spreadsheet spreadsheet.RegistrationName = "demo" spreadsheet.RegistrationKey = "demo" ' Load input file spreadsheet.LoadFromFile("sample.xml") ' Generate XLSX format spreadsheet.SaveAsXLSX("sample.xlsx") End Using ' Read spreadsheet and display data to console Using spreadsheet As New Spreadsheet spreadsheet.RegistrationName = "demo" spreadsheet.RegistrationKey = "demo" ' Load input file spreadsheet.LoadFromFile("sample.xlsx") ' Reference Worksheet Dim Worksheet As Worksheet = spreadsheet.Worksheet(0) Console.WriteLine("=====================================================") Console.WriteLine("================ Spreadsheet data ===================") Console.WriteLine("=====================================================") ' Read And output cells to console. For row = Worksheet.UsedRangeRowMin To Worksheet.UsedRangeRowMax For column = Worksheet.UsedRangeColumnMin To Worksheet.UsedRangeColumnMax Console.Write("{0}" + vbTab, Worksheet.Cell(row, column).ValueAsString) Next Console.WriteLine() Next End Using Catch ex As Exception Console.WriteLine(("ERROR:" + ex.Message)) End Try Console.WriteLine("Press any key to exit...") Console.ReadLine() 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