My excel->html converter, version alpha 2, let me know what you think.

notfred

Lifer
Feb 12, 2001
38,241
4
0
I've been writing a converter to convert excel files to html without all the MS proprietary crap code. Last time I posted it, it was giving errors to some people. I think I fixed that problem. Anyway, here's the link: Converter (about 500k)

It's a command line program. The syntax looks like this: excelconvert excelfile htmlfile

for example: excelconvert myfile.xls myhtml.html

Let me know what you think. :)
 

Ramma2

Platinum Member
Jul 29, 2002
2,710
1
0
Does it convert cells with formulas in them correctly now? I think the problem was before it would try to compute a value of a cell, and if the current value was invalid because there was no data in that cell, it would give the error message.
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
Originally posted by: Zeypher2
Does it convert cells with formulas in them correctly now? I think the problem was before it would try to compute a value of a cell, and if the current value was invalid because there was no data in that cell, it would give the error message.

It'd be nice if a few people would test it for me with different files so I would know these sorts of things... *hint* :)
 

thawolfman

Lifer
Dec 9, 2001
11,107
0
76
although i kinda realised that that one doesn't have any extensive formulas.....lemme see what I can dig up :D
 

Czar

Lifer
Oct 9, 1999
28,510
0
0
worked great here, only thing that didnt work were that internet links in the excel sheet didnt get converted to the html output, just the text for the links.

very very clean html output :)
 

Czar

Lifer
Oct 9, 1999
28,510
0
0
might want to change on thing though
move the font atribute on the cells to a stylesheet like

td { font:11px arial; }

or something like that
 

Descartes

Lifer
Oct 10, 1999
13,968
2
0
I've been writing a converter to convert excel files to html without all the MS proprietary crap code

I see you wrote this in Perl, which means you probably used Win32::eek:LE to instantiate the COM component coclass Excel.Application, which means you're still using all the MS proprietary "crap code" :D

Cool program though, muh brutha.
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
Originally posted by: Czar
very very clean html output :)

Glad you think so, since that's the whole point :)

I've still got some work to do with formatting to match the original file, but at least it's working :)