This file contains 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
# XLS to XLSX Batch convert script | |
# Forked from https://gist.github.com/gabceb/954418 | |
# Works well using Office 365 | |
$folderpath = "D:\XLS Files" | |
$filetype ="*xls" | |
Add-Type -AssemblyName Microsoft.Office.Interop.Excel | |
$xlFixedFormat = [Microsoft.Office.Interop.Excel.XlFileFormat]::xlWorkbookDefault |