Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
const xlCSV=6
xlfile="d:\test\abc.xls"
csvfile="d:\test\def.csv"
set fso=createobject("scripting.filesystemobject")
if not fso.fileexists(xlfile) then
wscript.echo "XL file does not exist. Operation aborted."
wscript.quit(1)
end if
set oxl=createobject("excel.application")
'oxl.visible=true
set owbk=oxl.workbooks.open(xlfile)
oxl.displayalerts=false
owbk.worksheets(2).saveas csvfile, xlCSV
owbk.close
'oxl.displayalerts=true
oxl.quit
set osheet=nothing
set owbk=nothing
set oxl=nothing
fso.deletefile xlfile
set fso=nothing