Excel specific features

GemBox.Spreadsheet preserves Excel specific features like sparklines, slicers, icon sets, data bars, etc. when reading XLSX file format.

Screenshot of Excel specific features preserved with GemBox.Spreadsheet
Excel specific features preserved with GemBox.Spreadsheet
Upload your file (Drag file here)
using System;
using GemBox.Spreadsheet;

class Program
{
    static void Main(string[] args)
    {
        // If using Professional version, put your serial key below.
        SpreadsheetInfo.SetLicense("FREE-LIMITED-KEY");

        var workbook = ExcelFile.Load("%InputFileName%");

        // Modify all values in column C. Set them to some random value between -10 and 10.
        var readEnumerator = workbook.Worksheets[0].Columns["C"].Cells.GetReadEnumerator();

        var rnd = new Random();
        while (readEnumerator.MoveNext())
        {
            var cell = readEnumerator.Current;
            if (cell.ValueType == CellValueType.Int)
                cell.SetValue(rnd.Next(-10, 10));
        }

        workbook.Save("Excel Specific Features.xlsx");
    }
}
Imports System
Imports GemBox.Spreadsheet

Module Program

    Sub Main()

        ' If using Professional version, put your serial key below.
        SpreadsheetInfo.SetLicense("FREE-LIMITED-KEY")

        Dim workbook = ExcelFile.Load("%InputFileName%")

        ' Modify all values in column C. Set them to some random value between -10 and 10.
        Dim readEnumerator = workbook.Worksheets(0).Columns("C").Cells.GetReadEnumerator()

        Dim rnd = New Random()
        While readEnumerator.MoveNext()

            Dim cell = readEnumerator.Current
            If cell.ValueType = CellValueType.Int Then cell.SetValue(rnd.Next(-10, 10))

        End While

        workbook.Save("Excel Specific Features.xlsx")
    End Sub
End Module

Check next example or download examples from GitHub.