Moved "MoveTo…" functionality into Add-Worksheet and gave it copy worksheet functionality
Added create new file functionality to Open-ExcelPackage - requires a -create switch so previous "Open for read if it exists" behaviour is kept.
Fixed Conditional formatting so background pattern is "None" not "Solid" by default.
Tidied comments and help in Merge and Compare
Added Join Worksheet
Added Extra parameters, sanity check and help to New-PivotTableDefinition
Added Compate-worksheet function (in its own PS1) Updated
ColorCompletion.ps1 to hold argument completers for set row, and set
column, and removed duplicates from formatting.ps1
Fixed case of Path param in Open-ExcelPackage
Added comments about date format (m/d/yy is trapped and translated to
local date)
Param block in close was re-ordered leaving a parameter in the middle
missing a comma and the parameter at the end had a comma it should not
have done.
Changed Export-Excel.ps1
#1 @ Line 197 Made new parameter sets . Default, and table already
existed and use path. Added DefaultPackage and TablePackage
A New parameter "Package" allows an ExcelPackage object returned by
-passThru to be passed in
~Line 400 code to use package or path depending on path passed.
(also added Open-ExcelPackage to get the object without exporting and
Close-ExcelPackage to close it nicely - these are in their own file)
#2. @ Line 256 added new parameter excludeProperty to remove unwanted
properties without needing to go through select-object
~Line 459 added logic to exclude the properties specified in the new
parameter
#3 . @ Line 262 Added new parameter Append
~Line 420 code to read the existing headers and move the insertion point
below the current data
(normal behaviour is to check if headers exist when adding data in the
process block, which makes this change wonderfully easy)
~Line 510 changed basis for identifying named ranges and changed scope
for rangeName so it can be used on other sheets
#4. ~Line 550. Remove any existing Pivot table before trying to
[re]create it.
Added formatting.ps1 which applies conditional and normal formats -
requires an ExcelPackage to be open.
Added Open-ExcelPackage.ps1 (which contains a close function as well to
get the the object and save it ) open allows the sheet to be loaded
into a package object without needing to export .
Updated .psm1 to add the formating and open/close ps1 files.