ExcelXML
Convert a Table or a Grid control into a Microsoft Excel XML Spreadsheet file.Project Manager: Rodrigo Bruscain
The ExcelXML project is designed to bring to the Visual FoxPro the possibility to generate a Excel file converting 99% of all visual caracteristics from a Grid. However, there is the possibility to generate a file without a Grid.
GOALS
- Excel files with over 65,535 rows.
- No limit size. (it depents on the Operational System)
- Convert a Grid Control into a Excel XML file considering 99% of the visual characteristics.
- It is possible to use Grid Dynamics properties.
- Based in all Grid visual properties.
- It is possible to convert a table without a Grid Control as well.
- Easy to implement and it is not necessary to change your code.
- Compatible with Microsoft Excel 2003 or higher.
- The files can be opened by OpenOffice reducing conversion errors.
- Open the file by Excel and save in other formats to reduce the size without loose the information.
- It is not necessary to have the Microsoft Excel installed.
See the samples included in the file
Properties and Methods | Description |
---|---|
Returns the number of columns included in the Excel file. | |
Inform the name of Excel file. If you don't inform the name with the extension, the XML extension will be included. The default file name is "Book1" | |
Inform the Grid control object to convert a Grid control in an Excel XML file. | |
.T. Includes the option Filter in all columns in the generated file. | |
.T. locks the header in the generated file. This option in Excel is called by Freeze Top Row. | |
.T. to open the file after saving it. | |
Returns the number of rows included in the Excel file. | |
.T. to define that the Excel file will have the Grid visual characteristics transported. | |
Excel sheet name. The default name is "Sheet1" | |
XML encoding type used to set the code that defines special characters. Default code is "iso-8859-1". | |
Object that contains the information about this class. | |
About ExcelXML class | |
Method used to show the percentage processed. | |
Creates the Excel XML file. |
Sample 01
Sample 02
Sample 03
Sample 04 - No Grid control