You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
ArtieLadie
changed the title
Switch -ChearSheet when exporting Excel with PivotRows
Switch -ClearSheet when exporting Excel with PivotRows
May 27, 2015
Tested out code at zPSExcel.Intro.ps1 and added -ClearSheet after every Export-XLSX command.
However, when adding -ClearSheet after
Export-XLSX -Path C:\Temp\Files.xlsx -PivotRows Extension -PivotValues Length -ChartType Pie -ClearSheet
Following errors output:
Add-PivotTable : Skipping existing worksheet 'PivotTable1'
At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\PSExcel\Export-XLSX.ps1:359 char:26
You cannot call a method on a null-valued expression.
At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\PSExcel\Export-XLSX.ps1:374 char:17
The text was updated successfully, but these errors were encountered: