Recently, I was made responsible for updating the VB6 data collection application to add the ability to generate Excel reports and print them through the application (both must run on the same computer). This is usually not a problem; I created Excel reports with VB6 before using the Excel object.
So, I went ahead and coded the changes and presented them, and then I was told that the machine on which this program would not be indicated would not have a full copy of Excel on it, and I had to come up with another solution.
I tried to create delimited files (separated by commas or text), but when these files are opened with excel, they are not formatted beautifully, i.e. if one cell has 20 characters, half of the fragments will be disabled due to the size of the fixed cell.
I have some more ideas:
1) I know that openoffice has an api. Can this api be used to create a properly formatted excel file? Is there a COM object that I can use?
2) I found this tool: http://www.carlosag.net/Tools/ExcelXmlWriter/
However, it was written in VB.NET. Can I use this tool in VB6?
, . - utitiles ? , / . , , !
. Excel, , - Excel 2007