fix autofilter range

This commit is contained in:
2023-02-13 13:09:49 +11:00
parent cee94f2141
commit 13201c144a

View File

@@ -151,7 +151,7 @@ func main() {
// Handle autofilter // Handle autofilter
if autoFilter { if autoFilter {
// cell is still a reference to the last cell in the header row cell, _ = excelize.CoordinatesToCellName(len(columnNames), 1)
filterRange := "A1:" + cell filterRange := "A1:" + cell
fmt.Printf("Setting autofilter to range '%s'\n", filterRange) fmt.Printf("Setting autofilter to range '%s'\n", filterRange)
// As per docs any filters applied need to be manually processed by us (eg hiding rows with blanks) // As per docs any filters applied need to be manually processed by us (eg hiding rows with blanks)