From 438d7e2b030c2b837ed76cbbc5b51b3dc7ca5429 Mon Sep 17 00:00:00 2001 From: Thomas Hofkens Date: Sun, 25 Dec 2022 23:44:21 +0100 Subject: [PATCH] Fix Issue 1344 --- Public/Export-Excel.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Public/Export-Excel.ps1 b/Public/Export-Excel.ps1 index 9300a58..8f351d6 100644 --- a/Public/Export-Excel.ps1 +++ b/Public/Export-Excel.ps1 @@ -494,7 +494,7 @@ } elseif ($FreezeTopRow) { if ($Title) { - $ws.View.FreezePanes(2, 1) + $ws.View.FreezePanes(3, 1) Write-Verbose -Message "Froze title and header rows" } else {