diff --git a/.vscode/spellright.dict b/.vscode/spellright.dict index dc12c56e..1f880d4c 100644 --- a/.vscode/spellright.dict +++ b/.vscode/spellright.dict @@ -28,3 +28,4 @@ PivtoTableName New-Excelchart paypal dll +enums diff --git a/README.md b/README.md index e428a90d..1c810fd1 100644 --- a/README.md +++ b/README.md @@ -52,34 +52,34 @@ Install-Module ImportExcel -scope CurrentUser Install-Module ImportExcel ``` # New to Aug 16th -- Value does not need to be mandatory in Set-Row or Set-Column, also tidied their paramters a little. +- Value does not need to be mandatory in Set-Row or Set-Column, also tidied their parameters a little. - Added support for array formulas in Set-Format (it really should be set range now that it sets values, formulas and hyperlinks - that can go on the to-do list ) -- Fixed a bug with -Append in Export-Excel which caused it to overwrite the last row if the new data was a simple type. +- Fixed a bug with -Append in Export-Excel which caused it to overwrite the last row if the new data was a simple type. - NumberFormat in Export-Excel now sets the default for on a new / blank sheet; but [still] sets individual cells when adding to a sheet - Added support for timespans in Export excel ; set as elapsed hours, mins, secs [h]:mm:sss -- In Export-Excel improved the catch-all handler for insering values to cope better with nested objects (#419) and reduce the number of parse operations +- In Export-Excel improved the catch-all handler for insuring values to cope better with nested objects (#419) and reduce the number of parse operations - Added -Calculate switch to Export-Excel and Close-Excel Package; EPPlus needs formulas to OMIT the leading = sign so where formula is set it now strips a leading = sign - Added -PivotTotals parameter where there was already -NoTotalsInPivot new one allows None, Both, Rows, Columns. (#415) -- When appending Export-Excel only extended tables and ranges if they were explicitly specified. It now does it automatically. -- Compare and Merge worksheet originally had a problem with > 26 columns, I fixed merge turns out I hadn't fixed compare ... I have now -- Fixed bug where Export-Excel would not recognise it had to set $TitleFillPattern - made the default 'Solid' -- ExcludeProperty in Export-Excel now supports wildcards. -- Added DateTime to the list of types which can be exported as single column. -- Addded Password support to Open- and Close-ExcelPackage (password was not doing anything in Export-Excel) +- When appending Export-Excel only extended tables and ranges if they were explicitly specified. It now does it automatically. +- Compare and Merge worksheet originally had a problem with > 26 columns, I fixed merge turns out I hadn't fixed compare ... I have now +- Fixed bug where Export-Excel would not recognize it had to set $TitleFillPattern - made the default 'Solid' +- ExcludeProperty in Export-Excel now supports wildcards. +- Added DateTime to the list of types which can be exported as single column. +- Added Password support to Open- and Close-ExcelPackage (password was not doing anything in Export-Excel) - Gave Expand-NumberFormat a better grasp of currency layouts - it follows .NET which is not always the same as Excel would set:-( -# What's new in Release 5.1.1 +# What's new in Release 5.1.1 - Set-Row and Set-Column will now create hyperlinks and insert dates correctly - Import-Excel now has an argument completer for Worksheet name - this can be slow on large files -- The NumberFormat parameter (in Export-Excel, Set-Row, Set-Column, Set-Format and Add-ConditionalFormat) and X&YAxisNumberFormat paramaters (in New-ExcelChartDefinition and Add-ExcelChart) now have an argument completer and the names Currency, Number, Percentage, Scientific, Fraction, Short Date ,Short time,Long time, Date-Time and Text will be converted to the correct Excel formatting strings. -- Added new function Select-Worksheet to make a named sheet active: Added -Activate switch to Add-Worksheet, to make current sheet active, Export-Excel and Add-PivotTable support -Activate and pass it to Add-Worksheet, and New-PivotTableDefinition allows it to be part of the Pivot TableDefinition. -- Fixed a bug in Set-Format which caused -Hidden not to work -- Made the same changes to Add-Conditional format as set format so -switch:$false is processed, and 0 enums and values are processed correctly -- In Export-Excel, wraped calls to Add-CellValue in a try catch so a value which causes an issue doesn't crash the whole export but generates a warning instead (#410) . -- Additional tests. +- The NumberFormat parameter (in Export-Excel, Set-Row, Set-Column, Set-Format and Add-ConditionalFormat) and X&YAxisNumberFormat parameters (in New-ExcelChartDefinition and Add-ExcelChart) now have an argument completer and the names Currency, Number, Percentage, Scientific, Fraction, Short Date ,Short time,Long time, Date-Time and Text will be converted to the correct Excel formatting strings. +- Added new function Select-Worksheet to make a named sheet active: Added -Activate switch to Add-Worksheet, to make current sheet active, Export-Excel and Add-PivotTable support -Activate and pass it to Add-Worksheet, and New-PivotTableDefinition allows it to be part of the Pivot TableDefinition. +- Fixed a bug in Set-Format which caused -Hidden not to work +- Made the same changes to Add-Conditional format as set format so -switch:$false is processed, and 0 enums and values are processed correctly +- In Export-Excel, wrapped calls to Add-CellValue in a try catch so a value which causes an issue doesn't crash the whole export but generates a warning instead (#410) . +- Additional tests. # What's new to July 18 -- Changed parameter evaluation in Set-Format to support -bold:$false (and other switches so that if false is specified the attribute will be removed ), and to bug were enums with a value of zero, and other zero parameters were not set. +- Changed parameter evaluation in Set-Format to support -bold:$false (and other switches so that if false is specified the attribute will be removed ), and to bug were enums with a value of zero, and other zero parameters were not set. - Moved chart creation into its own function (Add-Excel chart) within Export-Excel.ps1. Renamed New-Excelchart to New-ExcelChartDefinition to make it clearer that it is not making anything in the workbook (but for compatibility put an alias of New-ExcelChart in so existing code does not break). Found that -Header does nothing, so it isn't Add-Excel chart and there is a message that does nothing in New-ExcelChartDefinition . - Added -BarChart -ColumnChart -LineChart -PieChart parameters to Export-Excel for quick charts without giving a full chart definition. - Added parameters for managing chart Axes and legend