formatted

This commit is contained in:
dfinke
2017-10-11 18:11:47 -04:00
parent 304a96e955
commit 85151f8375

View File

@@ -389,8 +389,7 @@ Function Export-Excel {
$Path = [System.IO.Path]::GetTempFileName() -replace '\.tmp', '.xlsx'
$Show = $true
$AutoSize = $true
if (!$TableName)
{
if (!$TableName) {
$AutoFilter = $true
}
}
@@ -663,7 +662,8 @@ Function Export-Excel {
}
$Series.Header = $SeriesHeader
} else {
}
else {
for ($idx = 0; $idx -lt $chartDefCount; $idx += 1) {
$Series = $chart.Series.Add($chartDef.YRange[$idx], $chartDef.XRange)