Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
To read cell values in more than one thread simultaneously, set Worksheet.getCells().setMultiThreadReading() to true. If you do not, you might get the wrong cell values. Please note, some features such as formatting cell values are not supported for multiple-threads. So MultiThreadReading only enable you to access cell’s original data only. In multiple-threads environment if you try to get cell’s formatted value, such as by Cell.getStringValue() for numeric values, you may get unexpected result or exception.
The following code:
If you comment this line:
testWorkbook.getWorksheets().get(0).getCells().setMultiThreadReading(true);then the following message is displayed:
if (s.equals("R" + row + "C" + col)!=true)
{
System.out.println("This message box will show up when cells read values are incorrect.");
}Otherwise, the program runs without showing any message which means all values read from cells are correct.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.