Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am trying to determine if its possible to export data directly into
an Excel file instead of exporting to a comma-separated (.csv) file first. And later import that csv-file to an Excel file. Data is extracted from a MSSQL database. Excel files must be in either .xls (Excel 97-2003) or .xlsx (Excel 2007) format. Question 1: Is it possible to create an Excel file from scratch up ? Question 2: If "yes" to Q1, is it limited to the .xls or .xlsx file format ? Question 3: If "yes" to Q1, is there limitations of what information that can be saved ? (such as formulas, only numbers/text or formating) Question 4: If "no" to Q1, is there any third-party plug-in or software that can preform the creation of an Excel file ? If this is can only be done via some programming then it must be in PHP (web). |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
The 'bottom line' of your post is the catch. Had you been asking about doing
all of 1-3 from within Excel, the answers would have been easy to provide. My bottom line is that you're probably better off sticking with creating the ..CSV file in your web application: they're easy to create and compatible with all versions of Excel. Excel used a file format called BIFF (Binary Interchange File Format) up until Excel 2007. There were various versions of BIFF. With Excel 2007, the file format became part of the Office Open XML formats - there are several of them (one for each of the .xls? type files). Of course, 2007 retains the ability to open earlier BIFF formatted .xls files - so that would be one option to keep coding to a minimum: only build the BIFF formatted file that could be read by a wider range of Excel versions. If you go with the XML Spreadsheet format (XMLSS, introduced with Excel XP [2002]) then you're restricting the audience. "Kim" wrote: I am trying to determine if its possible to export data directly into an Excel file instead of exporting to a comma-separated (.csv) file first. And later import that csv-file to an Excel file. Data is extracted from a MSSQL database. Excel files must be in either .xls (Excel 97-2003) or .xlsx (Excel 2007) format. Question 1: Is it possible to create an Excel file from scratch up ? Question 2: If "yes" to Q1, is it limited to the .xls or .xlsx file format ? Question 3: If "yes" to Q1, is there limitations of what information that can be saved ? (such as formulas, only numbers/text or formating) Question 4: If "no" to Q1, is there any third-party plug-in or software that can preform the creation of an Excel file ? If this is can only be done via some programming then it must be in PHP (web). |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thank you very much.
On Oct 29, 1:39 pm, JLatham <HelpFrom @ Jlathamsite.com.(removethis) wrote: The 'bottom line' of your post is the catch. Had you been asking about doing all of 1-3 from within Excel, the answers would have been easy to provide. My bottom line is that you're probably better off sticking with creating the .CSV file in your web application: they're easy to create and compatible with all versions of Excel. Excel used a file format called BIFF (Binary Interchange File Format) up until Excel 2007. There were various versions of BIFF. With Excel 2007, the file format became part of the Office Open XML formats - there are several of them (one for each of the .xls? type files). Of course, 2007 retains the ability to open earlier BIFF formatted .xls files - so that would be one option to keep coding to a minimum: only build the BIFF formatted file that could be read by a wider range of Excel versions. If you go with the XML Spreadsheet format (XMLSS, introduced with Excel XP [2002]) then you're restricting the audience. "Kim" wrote: I am trying to determine if its possible to export data directly into an Excel file instead of exporting to a comma-separated (.csv) file first. And later import that csv-file to an Excel file. Data is extracted from a MSSQL database. Excel files must be in either .xls (Excel 97-2003) or .xlsx (Excel 2007) format. Question 1: Is it possible to create an Excel file from scratch up ? Question 2: If "yes" to Q1, is it limited to the .xls or .xlsx file format ? Question 3: If "yes" to Q1, is there limitations of what information that can be saved ? (such as formulas, only numbers/text or formating) Question 4: If "no" to Q1, is there any third-party plug-in or software that can preform the creation of an Excel file ? If this is can only be done via some programming then it must be in PHP (web). |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
There's no export to dbf files from XL2007? | Excel Discussion (Misc queries) | |||
How do I export Lotus Approach files into an Excel spreadsheet? | New Users to Excel | |||
Export rows in Excel to lutiple Word files | Excel Discussion (Misc queries) | |||
export gif file files | Charts and Charting in Excel | |||
Export html page to Excel - support files folder | Excel Discussion (Misc queries) |