From e8a027c95177a85413fec26cde771fa14facab0b Mon Sep 17 00:00:00 2001 From: DarkLite1 Date: Fri, 19 May 2017 14:49:14 +0200 Subject: [PATCH] Snall fixe verbose Verbose for the header was not in the right place --- Export-Excel.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } } }