Free Trial
Web API version
Licensing
Request A Quote
HAVE QUESTIONS OR NEED HELP? SUBMIT THE SUPPORT REQUEST FORM or write email to SUPPORT@BYTESCOUT.COM
Read Merged Cells | VB.NET
Module1.vb:
VB
Imports Bytescout.Spreadsheet Imports System.IO Module Module1 Sub Main() ' Create new Spreadsheet Dim document As New Spreadsheet() document.LoadFromFile("Input.xls") ' Get worksheet by name Dim worksheet As Worksheet = document.Workbook.Worksheets("Sheet1") ' Read merged cell Dim cell As Cell = worksheet.Cell("C12").MergedWithCell ' Read cell value Console.WriteLine(cell.Value) ' Close document document.Close() End Sub End Module