---
title: "AutoFitColumns_Int_Int Method"
url: "https://reference.aspose.com/cells/go-cpp/worksheet/autofitcolumns_int_int/"
product: "Aspose.Cells for Go via C++ API Reference"
description: "AutoFitColumns_Int_Int method. Encapsulates the function that represents autofitcolumns in Go."
---


## AutoFitColumns_Int_Int function

Autofits the columns width.

```go

func (instance *Worksheet) AutoFitColumns_Int_Int(firstcolumn int32, lastcolumn int32)  error

```

## Remarks


## See Also

* Class [Worksheet](../)
* Library [Aspose.Cells for Go](../../)
