Skip to content

johmue/goexcelwin

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

goexcelwin

Go wrapper (Win64 only) for commercial LibXL excel library.

Installation

go get -u github.com/johmue/goexcelwin

Copy the libxl.dll for Win64 into a directory ./bin inside your project.

Simple example

// main.go
package main

import (
	"github.com/johmue/goexcelwin"
)

func main() {
	xb := goexcelwin.Book{}
	xb.CreateXLSX("./bin/libxl.dll")

	xb.SetKey("<License Name>", "<License Key>")

	xb.SetLocale("UTF-8")
	xb.SetRgbMode(1)

	xs := xb.AddSheet("Table1", nil)

	xs.WriteStr(1, 1, "Hello!", nil)
	xs.WriteNum(1, 2, 100, nil)

	xb.Save("test.xlsx")
}

About

Go wrapper (Win64 only) for commercial LibXL excel library.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages