Hi,
I need to read the Excel sheet using java for which i downloaded the 
"org.apache.poi".

When i use it to read normal excel sheets i don't face any probs it was reading 
good but in my case i need to read a excel sheet which has macros. so it's 
throwing "java.lang.reflect.InvocationTargetException" exception.

Code
-------------------------------------------------------------------
POIFSFileSystem fs = new POIFSFileSystem(new FileInputStream("1.xls"));
HSSFWorkbook wb = new HSSFWorkbook(fs);

------------------------------------------------------------------

let me know how i can read the excel with macros...

Thanks in advance 



Thanks in advance 

Reply via email to