diff --git a/Export-Excel.ps1 b/Export-Excel.ps1 index 9042b3f..c3a775e 100644 --- a/Export-Excel.ps1 +++ b/Export-Excel.ps1 @@ -417,8 +417,8 @@ Function Export-Excel { else { foreach ($Name in $script:Header) { $ws.Cells[$Row, $ColumnIndex].Value = $Name - $ColumnIndex += 1 Write-Verbose "Cell '$Row`:$ColumnIndex' add header '$Name'" + $ColumnIndex += 1 } } }