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


## SetCheckExcelRestriction function

Whether check restriction of excel file when user modify cells related objects.For example, excel does not allow inputting string value longer than 32K.When you input a value longer than 32K, it will be truncated.

```go

func (instance *OfdSaveOptions) SetCheckExcelRestriction(value bool)  error

```

## Remarks


## See Also

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