natalie
2006-06-19 14:57:55 UTC
Hi,
can somebody help me please?
I need a solution for my script to save a excel-file to csv with
semicolon as delimiter. Since we have got Office2003 my VBScript does
not work and saves the csv-File with comma als delimiter. In Germany
the settings in the control panel are for semicolon. If I save by
myself (Data/save as/test.csv) - it's OK with semicolon.
Here my Script csv_convert.vbs:
set oExcel = CreateObject("Excel.Application")
oExcel.Workbooks.Open("test.xls")
oExcel.DisplayAlerts = false
oExcel.ActiveWorkbook.Worksheets(1).SaveAs "test.csv", 6
oExcel.ActiveWorkbook.Close()
oExcel.Quit()
Thank you for your help!
Natalie
can somebody help me please?
I need a solution for my script to save a excel-file to csv with
semicolon as delimiter. Since we have got Office2003 my VBScript does
not work and saves the csv-File with comma als delimiter. In Germany
the settings in the control panel are for semicolon. If I save by
myself (Data/save as/test.csv) - it's OK with semicolon.
Here my Script csv_convert.vbs:
set oExcel = CreateObject("Excel.Application")
oExcel.Workbooks.Open("test.xls")
oExcel.DisplayAlerts = false
oExcel.ActiveWorkbook.Worksheets(1).SaveAs "test.csv", 6
oExcel.ActiveWorkbook.Close()
oExcel.Quit()
Thank you for your help!
Natalie