Excel command-line convert
Hallo,
Ich exportiere mit einem script aus discoverer eine tabell die als excel 95 workbook gespeichert wird
das Problem ist für den import zum sql server brauche ich ein 2003 workbook.
Wie kann ich fia command-line die datei zb. mit excel öffnen und unter anderm Format abspeichern?
Gibt es noch andere Lösungen?
Danke für die Hilfe!
LG
Ich exportiere mit einem script aus discoverer eine tabell die als excel 95 workbook gespeichert wird
das Problem ist für den import zum sql server brauche ich ein 2003 workbook.
Wie kann ich fia command-line die datei zb. mit excel öffnen und unter anderm Format abspeichern?
Gibt es noch andere Lösungen?
Danke für die Hilfe!
LG
Please also mark the comments that contributed to the solution of the article
Content-Key: 79875
Url: https://administrator.de/contentid/79875
Printed on: April 18, 2024 at 03:04 o'clock
2 Comments
Latest comment
Hallo T-Virus!
Dieses VBScript erwartet beim Aufruf als Parameter eine Exceldatei und überschreibt diese durch die neue Version - Verwendung in einem Batch zB
Grüße
bastla
... die datei zb. mit excel öffnen und unter anderm Format abspeichern?
Etwa so:'SaveAsXL7.vbs
ExcelDatei = WScript.Arguments(0)
Set XL = WScript.CreateObject("Excel.Application")
XL.Workbooks.Open ExcelDatei
XL.DisplayAlerts = False
XL.ActiveWorkbook.SaveAs ExcelDatei,39 'oder ev 43
XL.DisplayAlerts = True
XL.Quit
cscript //nologo C:\Scripts\SaveAsXL7.vbs "D:\DeineExcel95Datei.xls"
Grüße
bastla