Excel Extension

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Jay
Reply | Threaded
Open this post in threaded view
|

Excel Extension

Jay
Dear All,
I am working on a requirement where when I save a report, the report needs
   to be saved in the excel format. The problem that I am facing now is to
   determine the excel version. Reason being, when I save an excel in .xls
   format (Hard coded in the method), and if the application (Developed in Vw
   5i.0) is being used in a machine where MS office 2007 is installed, then I
   want that file to be saved with an extension .xlsx and vice versa. ie, if
   the user saves the report in a machine where MS office is 2003, then it
   should be saved in .xls format. Is there any way that I can determine the
   version of the ms office (Especially excel). Please give your valuable input
   to this.