From b90087bd63a6413eda438e97bd36a9cb55a6c911 Mon Sep 17 00:00:00 2001 From: dfinke Date: Mon, 3 Jul 2017 13:44:01 -0400 Subject: [PATCH] Updated to include `ConvertTo-ExcelXlsx` --- ImportExcel.psd1 | 2 +- ImportExcel.psm1 | 1 + InstallModule.ps1 | 1 + README.md | 3 +++ 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ImportExcel.psd1 b/ImportExcel.psd1 index 36999a1..166d46b 100644 --- a/ImportExcel.psd1 +++ b/ImportExcel.psd1 @@ -4,7 +4,7 @@ RootModule = 'ImportExcel.psm1' # Version number of this module. -ModuleVersion = '3.0.0' +ModuleVersion = '3.0.1' # ID used to uniquely identify this module GUID = '60dd4136-feff-401a-ba27-a84458c57ede' diff --git a/ImportExcel.psm1 b/ImportExcel.psm1 index 02f8b40..426fc70 100644 --- a/ImportExcel.psm1 +++ b/ImportExcel.psm1 @@ -22,6 +22,7 @@ Add-Type -Path "$($PSScriptRoot)\EPPlus.dll" . $PSScriptRoot\Set-CellStyle.ps1 . $PSScriptRoot\ConvertFromExcelData.ps1 . $PSScriptRoot\ConvertFromExcelToSQLInsert.ps1 +. $PSScriptRoot\ConvertToExcelXlsx.ps1 if($PSVersionTable.PSVersion.Major -ge 5) { . $PSScriptRoot\plot.ps1 diff --git a/InstallModule.ps1 b/InstallModule.ps1 index bd0204a..045df72 100644 --- a/InstallModule.ps1 +++ b/InstallModule.ps1 @@ -31,6 +31,7 @@ $targetFiles = echo ` Set-CellStyle.ps1 ` ConvertFromExcelToSQLInsert.ps1 ` ConvertFromExcelData.ps1 ` + ConvertToExcelXlsx.ps1 ` plot.ps1 Get-ChildItem $targetFiles | diff --git a/README.md b/README.md index 71647e2..78bc604 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,9 @@ iex (new-object System.Net.WebClient).DownloadString('https://raw.github.com/dfi ``` # What's new +#### 7/3/2017 +Thanks to [Mikkel Nordberg](https://www.linkedin.com/in/mikkelnordberg). He contributed a `ConvertTo-ExcelXlsx`. To use it, Excel needs to be installed. I converts older Excel files `xls` to 'xlsx'. + #### 6/15/2017 Huge thank you to [DarkLite1](https://github.com/DarkLite1)! Refactoring of code, adding help, adding features, fixing bugs. Specifically this long outstanding one: