diff --git a/Export-Excel.ps1 b/Export-Excel.ps1 index ee31f1c..1dd1ec0 100644 --- a/Export-Excel.ps1 +++ b/Export-Excel.ps1 @@ -254,8 +254,6 @@ function Export-Excel { $tbl = $ws.Tables.Add($targetRange, $TableName) $tbl.TableStyle=$TableStyle - - $idx } if($IncludePivotTable) {