Go Library for Excel File Formats

Version 24.11.0

Product Page | Docs | Demos | API Reference | Examples | Blog | Releases | Free Support | Temporary License

Aspose.Cells for Go via C++ is a native Go library to create, manipulate, process, and convert Microsoft Excel? files without needing Microsoft Office? or Automation. The Excel Go API supports Excel 97-2003 (XLS), Excel 2007-2013/2016 (XLSX, XLSM, XLSB), OpenOffice XML, and other formats such as CSV, TSV, and more.

It allows the developers to work with spreadsheet rows, columns, data, formulas, pivot tables, worksheets, tables, charts, and drawing objects from their own Go applications.

What is Aspose.Cells for Go via C++?

Aspose.Cells for Go via C++ is a native Go on premise API to integrate Spreadsheet creation, manipulation and conversion features into your Go Apps. It supports working with many popular spreadsheet file formats from Microsoft Excel (XLS, XLSX, XLSB, CSV, etc.) and OpenOffice/LibreOffice (ODS).

You can use Aspose.Cells for Go via C++ to develop 64-bit applications in any development environment that supports Go, such as, Microsoft Visual Studio. Aspose.Cells for Go via C++ is a native assembly that can be deployed by simply copying it. You do not have to worry about other services or modules.

Aspose.Cells for Go via C++ allows you to work with the built-in as well as the custom document properties in Microsoft Excel. Supports high-quality conversion of Excel Workbooks to PDF/A compliant files. Work with formulas, pivot tables, worksheets, tables, ranges, charts, OLE objects and much more.

Excel File Processing Features

Supported Read & Write Formats

Microsoft Excel: XLS, XLSX, XLSB, SpreadsheetML
Text: CSV, TSV, TabDelimited
OpenDocument: ODS
Other: HTML, MHTML

Save Spreadsheet Documents As

Microsoft Excel: XLSM, XLTX, XLTM, XLAM
Portable Document Format: PDF, XPS
Text: CSV, TSV, TabDelimited
Images: SVG, JPEG, PNG, BMP, GIF
Web: HTML, MHTML
Metafile: EMF
Other DIF

Get Started

Are you ready to give Aspose.Cells for Go via C++ a try? Simply execute go get -u github.com/aspose-cells/aspose-cells-go-cpp and import github.com/aspose-cells/aspose-cells-go-cpp from go file. If you already have Aspose.Cells for Go via C++ and want to upgrade the version, please execute go get github.com/aspose-cells/aspose-cells-go-cpp@v24.12.0 to get the latest version.

Convert XLS to XLSX, XLSB & CSV using Go

Try executing the below snippet to see how API works in your environment or check the GitHub Repository for other common usage scenarios.

lic, _ := NewLicense()
lic.SetLicense_String(os.Getenv("LicensePath"))
workbook, err1 := NewWorkbook_String("Book1.xlsx")
if err1 != nil {
    println(err1)
}
workbook.Save_String("Book1.pdf")
workbook.Save_String("Book1.png")
workbook.Save_String("Book1.txt")
workbook.Save_String("Book1.ods")
workbook.Save_String("Book1.md")
workbook.Save_String("Book1.json")
workbook.Save_String("Book1.html")

Create a Custom Excel Chart with Go

package main

import (
 . "asposecells"
 "os"
)

func main() {
 lic, _ := NewLicense()
 lic.SetLicense_String(os.Getenv("LicensePath"))

 workbook, _ := NewWorkbook()
 worksheets, _ := workbook.GetWorksheets()
 worksheet, _ := worksheets.Get_Int(0)
 cells, _ := worksheet.GetCells()
 cell, _ := cells.Get_String("A1")
 cell.PutValue_Int(50)
 cell, _ = cells.Get_String("A2")
 cell.PutValue_Int(100)
 cell, _ = cells.Get_String("A3")
 cell.PutValue_Int(150)
 cell, _ = cells.Get_String("B1")
 cell.PutValue_Int(4)
 cell, _ = cells.Get_String("B2")
 cell.PutValue_Int(20)
 cell, _ = cells.Get_String("B3")
 cell.PutValue_Int(50)
 charts, _ := worksheet.GetCharts()
 chartIndex, _ := charts.Add_ChartType_Int_Int_Int_Int(ChartType_Pyramid, 5, 0, 20, 8)
 chart, _ := charts.Get_Int(chartIndex)
 series, _ := chart.GetNSeries()
 series.Add_String_Bool("A1:B3", true)
 workbook.Save_String("CreateChart.xlsx")
}

Product Page | Docs | Demos | API Reference | Examples | Blog | Releases | Free Support | Temporary License