An easy to understand guide on how to read formula from cell with spreadsheet sdk in VB.NET with this source code sample. ByteScout Data Extraction Suite can read formula from cell with spreadsheet sdk. It can be applied from VB.NET. ByteScout Data Extraction Suite 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.
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 read formula from cell with spreadsheet sdk. 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. Enjoy writing a code with ready-to-use sample codes in VB.NET.
ByteScout provides the free trial version of ByteScout Data Extraction Suite along with the documentation and source code samples.
Imports Bytescout.Spreadsheet Imports System.IO Module Module1 Sub Main() ' Create new Spreadsheet Dim document As New Spreadsheet() document.LoadFromFile("sample.xls") ' get the very first worksheet Dim sheet As Worksheet = document.Worksheet(0) Console.WriteLine("reading total price formula from cell B5") ' we use .Formula value to read from the B5 cell Console.WriteLine("Formula in B5 cell is: " + sheet.Cell("B5").Formula) Console.WriteLine("\npress any key to continue") Console.ReadKey() End Sub End Module