Error in reading excel

Hi Team,

Currently we are using read with excel function but due to confidential file it is throwing below error.

Expression evaluation error at function 'readexcelsheetpaging': org.apache.pol.openxml4j.exceptions.OLE2NotOfficexmlFileException. The supplied data appears to be in the OLE2 Format. You are calling the part of POI that deals with OOXML (Office Open XML) Documents. You need to call a different part of POI to process this data (eg HSSF Instead of XSSF)

Can anyone help on this to which function help to check format in excel 

Thanks 

Divya 

  Discussion posts and replies are publicly visible