On this page you will learn from code samples for programming in VB.NET.Writing of the code to set hidden formula with spreadsheet sdk in VB.NET can be executed by programmers of any level using ByteScout Data Extraction Suite. 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. It can set hidden formula with spreadsheet sdk in VB.NET.
The SDK samples given below describe how to quickly make your application do set hidden formula with spreadsheet sdk in VB.NET with the help of ByteScout Data Extraction Suite. Just copy and paste the code into your VB.NET application’s code and follow the instructions. Further improvement of the code will make it more robust.
Trial version of ByteScout Data Extraction Suite is available for free. Source code samples are included to help you with your VB.NET app.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
Imports System.Diagnostics
Imports System.IO
Imports Bytescout.Spreadsheet
Class Program
Friend Shared Sub Main(args As String())
' Open spreadsheet from file
Dim document As New Spreadsheet()
document.LoadFromFile("example.xls")
' Get first worksheet
Dim worksheet As Worksheet = document.Workbook.Worksheets(0)
' Hide formula in B9 cell
worksheet.Cell("B9").HiddenFormula = True
' Protect the worksheet with password
worksheet.Protect("password")
' Delete output file if exists
If File.Exists("changed.xls") Then
File.Delete("changed.xls")
End If
' Save document
document.SaveAs("changed.xls")
' Close spreadsheet
document.Close()
' Open generated XLS document in default program
Process.Start("changed.xls")
End Sub
End Class
60 Day Free Trial or Visit ByteScout Data Extraction Suite Home Page
Explore ByteScout Data Extraction Suite Documentation
Explore Samples
Sign Up for ByteScout Data Extraction Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
60 Day Free Trial or Visit ByteScout Data Extraction Suite Home Page
Explore ByteScout Data Extraction Suite Documentation
Explore Samples
Sign Up for ByteScout Data Extraction Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
also available as: