I had the Object[][] dataArray line of code inside of the try/catch block. The compiler was complaining.
Sorry about my original question being NOT clear.
I don' t have a question at this time.
Thanks,
Kevin
Yes, it does. But it's only used in one method so there's no reason to make it a class-level variable. Just declare it at the start of the testExcel() method.