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


## AutoFitColumn_Int_Int_Int function

Autofits the column width.

```go

func (instance *Worksheet) AutoFitColumn_Int_Int_Int(columnindex int32, firstrow int32, lastrow int32)  error

```

## Remarks


## See Also

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