I have an Excel file and I need to read a value from a textbox inside that Excel file.
I am using org.apache.poi library and I tried to obtain the value in the following way:
   List<HSSFObjectData> obj=workbook.getAllEmbeddedObjects();
   for (int i = 0; i < obj.size(); i++) {           
       HSSFTextbox t = (HSSFTextbox) obj.get(i);
   }
Unfortunetly I couldn't cast HSSFTextbox to a HSSFObjectData element. 
Does anyone know how could this be done?
 
     
     
    