ByteScout Barcode Suite - VB.NET - Copypaste rows with spreadsheet sdk - ByteScout

ByteScout Barcode Suite – VB.NET – Copypaste rows with spreadsheet sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Barcode Suite – VB.NET – Copypaste rows with spreadsheet sdk

How to copypaste rows with spreadsheet sdk in VB.NET and ByteScout Barcode Suite

This code in VB.NET shows how to copypaste rows with spreadsheet sdk with this how to tutorial

The sample source codes on this page shows how to copypaste rows with spreadsheet sdk in VB.NET. Want to copypaste rows with spreadsheet sdk in your VB.NET app? ByteScout Barcode Suite is designed for it. ByteScout Barcode Suite is the set that includes three different SDK products to generate barcodes, read barcodes and read and write spreadsheets: Barcode SDK, Barcode Reader SDK and 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 copypaste rows 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! Complete and detailed tutorials and documentation are available along with installed ByteScout Barcode Suite if you’d like to learn more about the topic and the details of the API.

Trial version of ByteScout Barcode 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)

Program.vb
      
Imports System.Collections.Generic Imports System.Diagnostics Imports System.IO Imports System.Text 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") ' document.LoadFromFile(@"d:\2\1\Bytescout\Spreadsheet SDK\TestCase\Formats.xls"); ' Get first worksheet Dim worksheet As Worksheet = document.Workbook.Worksheets(0) ' Copy first eight rows to the 10th row worksheet.Rows.CopyAndPaste(0, 7, 9) ' 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

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