ByteScout Data Extraction Suite - VB.NET - Calculate xirr function with spreadsheet sdk - ByteScout
Announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More Open modal
Close modal
Announcement Important Update
ByteScout SDK Sunsetting Notice
Our ByteScout SDK products are sunsetting as we focus on our new & improved solutions. Thank you for being part of our journey, and we look forward to supporting you in this next chapter!

ByteScout Data Extraction Suite – VB.NET – Calculate xirr function with spreadsheet sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Data Extraction Suite – VB.NET – Calculate xirr function with spreadsheet sdk

How to calculate xirr function with spreadsheet sdk in VB.NET using ByteScout Data Extraction Suite

If you want to learn more then this tutorial will show how to calculate xirr function with spreadsheet sdk in VB.NET

An easy to understand guide on how to calculate xirr function with spreadsheet sdk in VB.NET with this source code sample. ByteScout Data Extraction Suite is the set that includes 3 SDK products for data extraction from PDF, scans, images and from spreadsheets: PDF Extractor SDK, Data Extraction SDK, Barcode Reader SDK. It can be applied to calculate xirr function with spreadsheet sdk using 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 Data Extraction Suite for calculate xirr function 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. Want to see how it works with your data then code testing will allow the function to be tested and work properly.

Our website gives trial version of ByteScout Data Extraction Suite for free. It also includes documentation and source code samples.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

Module1.vb
      
Imports System.IO Imports Bytescout.Spreadsheet Module Module1 Sub Main() ' Create new Spreadsheet Dim document As New Spreadsheet() ' Set locale document.Workbook.Locale = New System.Globalization.CultureInfo("en-US") ' Add new worksheet Dim worksheet As Worksheet = document.Workbook.Worksheets.Add() ' Fill some data worksheet.Cell(1, 1).Value = New DateTime(2008, 1, 1) worksheet.Cell(1, 2).Value = 100 worksheet.Cell(2, 1).Value = New DateTime(2009, 1, 1) worksheet.Cell(2, 2).Value = -200 ' Apply function worksheet.Cell(4, 1).Formula = "=XIRR(C2:C3,B2:B3,0)" ' Read value worksheet.Cell(4, 2).Value = worksheet.Cell(4, 1).Value ' delete output file if exists already If File.Exists("Output.xls") Then File.Delete("Output.xls") End If ' Save document document.SaveAs("Output.xls") ' Close Spreadsheet document.Close() ' open generated XLS document in default program Process.Start("Output.xls") End Sub End Module

ON-PREMISE OFFLINE SDK

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

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 Data Extraction Suite Home Page

Explore ByteScout Data Extraction Suite Documentation

Explore Samples

Sign Up for ByteScout Data Extraction Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next