Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/vb.net/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/json/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Vb.net Aspose.Cells-ErrorCheckOptions_Vb.net_Error Checking - Fatal编程技术网

Vb.net Aspose.Cells-ErrorCheckOptions

Vb.net Aspose.Cells-ErrorCheckOptions,vb.net,error-checking,Vb.net,Error Checking,代码上方,用于在Excel中禁用ErrorCheckOption,但在运行时仍保留为enabled。下载excel表格后,如果双击单元格,单元格将显示为绿色(即文本格式) 你能建议其他的选择吗。 我已附上屏幕截图供您参考。我认为您可以尝试指定所需的单元格/区域范围,以便在工作表中设置错误检查选项: 例如 opt.AddRange(CellArea.CreateCellArea(0,0,1000,50)) 我是Aspose的开发者/传道者 Dim opts As ErrorCheckOptionC

代码上方,用于在Excel中禁用ErrorCheckOption,但在运行时仍保留为enabled。下载excel表格后,如果双击单元格,单元格将显示为绿色(即文本格式) 你能建议其他的选择吗。
我已附上屏幕截图供您参考。

我认为您可以尝试指定所需的单元格/区域范围,以便在工作表中设置错误检查选项: 例如 opt.AddRange(CellArea.CreateCellArea(0,0,1000,50))

我是Aspose的开发者/传道者

Dim opts As ErrorCheckOptionCollection = workBook.Worksheets(0).ErrorCheckOptions
Dim index As Integer = opts.Add()
Dim opt As ErrorCheckOption = opts(index)
opt.SetErrorCheck(ErrorCheckType.TextNumber, False)