From 10dcbc5b1ce260c0291e1bfcc9dc299d54039a0c Mon Sep 17 00:00:00 2001 From: rrene Date: Fri, 11 Nov 2022 18:10:46 -0700 Subject: [PATCH] =?UTF-8?q?--=20correcci=C3=B3n=20rengl=C3=B3n=20en=20carg?= =?UTF-8?q?a=20excel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App_Code/modExtensiones.vb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/App_Code/modExtensiones.vb b/App_Code/modExtensiones.vb index 0f178b373..0f511f73d 100644 --- a/App_Code/modExtensiones.vb +++ b/App_Code/modExtensiones.vb @@ -80,12 +80,11 @@ Namespace Extensiones Else dataTable.Columns.Add("Unnamed Column " & (System.Threading.Interlocked.Increment(unnamed))) End If - - curRow = 1 Else dataTable.Columns.Add("Column " & (cols + 1)) End If Next + If firstRowHasHeaders Then curRow += 1 While curRow < worksheet.Rows.Count columns = New String(cols - 1) {}