This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes Creating a new Excel file using Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Reply locked New topic
Author

Creating a new Excel file using "File"

Sat Nar
Ranch Hand

Joined: Oct 22, 2004
Posts: 83
Hi,
In my application, i am creating a new Excel file using the code below.

File f = new File("ABC.xls");

There is a link in my application which opens this file. The XL file created using the above code is of type MS Office 97-2003. If i want to create a XL of type MS Office 2007, what should i do?

Thanks in advance.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19216

Use pache POI.


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35249
    
    7
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread.


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating a new Excel file using "File"
 
Similar Threads
Open excel in JSP
Creating Excel File - POI
Creating a new XL file using "File"
Good exercises?
Opening an Excel file