Excel specific features

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

Excel specific features preserved with GemBox.Spreadsheet
Screenshot of Excel specific features preserved with GemBox.Spreadsheet
Upload your file (Drag file here)
import com.gembox.spreadsheet.*;

class Program {

    public static void main(String[] args) throws java.io.IOException {
        // If using Professional version, put your serial key below.
        SpreadsheetInfo.setLicense("FREE-LIMITED-KEY");

        ExcelFile workbook = ExcelFile.load("%InputFileName%");

        // Modify all values in column C. Set them to some random value between -10 and 10.
        CellRangeIterator readEnumerator = workbook.getWorksheet(0).getColumn("C").getCells().getReadIterator();

        java.util.Random rnd = new java.util.Random();
        while (readEnumerator.hasNext()) {
            ExcelCell cell = readEnumerator.next();
            if (cell.getValueType() == CellValueType.INT)
                cell.setValue(rnd.nextInt(20) - 10);
        }

        workbook.save("Excel Specific Features.xlsx");
    }
}

Want more?

Next example GitHub

Check the next example or select an example from the menu. You can also download our examples from the GitHub.


Like it?

Download Buy

If you want to try the GemBox.Spreadsheet for Java yourself, you can download the free version. It delivers the same performance and set of features as the professional version, but with some operations limited. To remove the limitation, you need to purchase a license.