The sample source codes on this page shows how to insert page break with spreadsheet sdk in VB.NET. ByteScout Barcode Suite: the bundle that privides 3 SDK products to generate barcodes (Barcode SDK), read barcodes (Barcode Reaer SDK) and read and write spreadsheets (Spreadsheet SDK). It can insert page break with spreadsheet sdk in VB.NET.
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 insert page break with spreadsheet sdk below and use it in your application. Just copy and paste the code into your VB.NET application’s code and follow the instructions. If you want to use these VB.NET sample examples in one or many applications then they can be used easily.
You can download free trial version of ByteScout Barcode Suite from our website with this and other source code samples for VB.NET.
  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.IO
Imports System.Diagnostics
Imports Bytescout.Spreadsheet
Imports Bytescout.Spreadsheet.Structures
Class Program
	Friend Shared Sub Main(args As String())
		' Create new Spreadsheet
		Dim document As New Spreadsheet()
		' Add new worksheet
		Dim worksheet As Worksheet = document.Workbook.Worksheets.Add("HelloWorld")
		' Set cell value
		worksheet.Cell(0, 0).Value = "Hello, World!"
		' Add horizontal page break
		worksheet.HPageBreaks.Add(New CellsRange("A10"))
		' Add vertical page break
		worksheet.VPageBreaks.Add(New CellsRange("F1"))
		' Save document
		document.SaveAs("Output.xls")
		' Close Spreadsheet
		document.Close()
		' Open generated XLS document in default associated application
		Process.Start("Output.xls")
	End Sub
End Class
    
    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
    Get Your API Key
    
    Explore Web API Docs
    
    Explore Web API Samples    
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
Get Your API Key
Explore Web API Docs
Explore Web API Samples
also available as: