nivini
Programmer
- Mar 24, 2004
- 64
I have this code
the test.htm is not created, how come?
what do i have to do to create a html file?
please help
nivini
Code:
<script>
sub document_onload()
dim xcl, xlbook
dim pathStr, fname
pathstr="c:\[URL unfurl="true"]www\test.xls"[/URL]
set xcl=createobject("excel.application")
set xlbook=getobject(Pathstr)
xlbook.saveas "c:\[URL unfurl="true"]www\test.htm",[/URL] xlHTML
end sub
</script>
the test.htm is not created, how come?
what do i have to do to create a html file?
please help
nivini