Created
May 12, 2014 13:36
-
-
Save harpo/94e04ce6be771db31582 to your computer and use it in GitHub Desktop.
XLSX->XLS conversion script by Michael Kuzmin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Set objExcel = CreateObject("Excel.Application") | |
| Set objWorkbook = objExcel.Workbooks.Open(Wscript.Arguments(0)) | |
| objExcel.Application.Visible = False | |
| objExcel.Application.DisplayAlerts = False | |
| objExcel.ActiveWorkbook.SaveAs Wscript.Arguments(1), 56 | |
| objExcel.ActiveWorkbook.Close | |
| objExcel.Application.DisplayAlerts = True | |
| objExcel.Application.Quit | |
| WScript.Quit | |
| ' XLSX->XLS conversion script by Michael Kuzmin | |
| ' http://kuzmin.ca/blog/?p=578 | |
| ' This is how you can you it: | |
| ' c:\xlsx2xls.vbs "C:\inputdocument.xlsx" "C:\outputdocument.xls" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment