fix naming consitency (case mostly)

This commit is contained in:
jhoneill
2019-11-25 01:01:55 +00:00
parent f6c66e21a7
commit feb493e397
56 changed files with 249 additions and 214 deletions

View File

@@ -49,7 +49,7 @@ function Add-ExcelChart {
)
try {
if ($PivotTable) {
$Worksheet = $PivotTable.WorkSheet
$Worksheet = $PivotTable.Worksheet
$chart = $Worksheet.Drawings.AddChart(("Chart" + $PivotTable.Name ), $ChartType, $PivotTable)
}
else {
@@ -138,5 +138,5 @@ function Add-ExcelChart {
if ($PassThru) { return $chart }
}
catch { Write-Warning -Message "Failed adding Chart to worksheet '$($WorkSheet).name': $_" }
catch { Write-Warning -Message "Failed adding Chart to worksheet '$($Worksheet).name': $_" }
}