Opening with Excel without saving the file with Apache Poi
I am using Apache Poi to create an Excel file from a JTable.
I want to open the file directly in Excel rather than write it to disk first and then open it from disk.
FileOutputStream output = new FileOutputStream( StolleExcel.xls" ); workBook.write( output ); Desktop dt = Desktop.getDesktop(); dt.open( new File( "StolleExcel.xls" ) ); output.close();
Is there a temporary way to save the Excel object and then just open it with Excel so that the user can save or edit whatever they want?
source to share
No one has answered this question yet
Check out similar questions: