Well, the current workaround I've done is to export the sheet from the original workbook as a CSV file which then forces the cells to be evaluated and thus populated with their final values. Then I re-import that CSV file back into an Excel file with just that one sheet. The final Excel file works fine with SoapUI. An indirect way of doing things.
It just surprises me that there is the option in SoapUI to use Excel workbooks as data sources but it can't handle workbooks with complex cell lookups or functions.
I did not get the same error but I remember I needed to download Microsoft access database engine 2016 redistributable to make it work with TC. You can give it a go.
@nmrao Not my call to make what file I use, it's from a client and they are using Excel. So, yes, I need to be able to connect to an Excel file that has multiple sheets in it.
Update on this issue. It seems like the formulae / VLOOKUP functions in the sheets are causing that Java issue. Many of the cells in the workbook are referencing other sheets and cells across the workbook. And that seems to cause the import / read of the Excel file to fail.
Tested with a dummy Excel file with 2 columns and 20 rows in only one sheet and that worked fine. But, unfortunately again, that is not what my client's Excel file is like.
@nmrao not the project environment properties. But the Excel spreadsheets do contain the data that is needed for the parameters of the tests to be run. The keys are the column headers and the values are the rows which should be simple enough, even though many of the cells contain references/formulae that utilises cells from other spreadsheets in the same workbook.
The one of the sample projects used in the learning videos here used simple Excel files as well. Just not the sort of complex, extensive ones that are found in the real world.