I need a code to delete blank rows in txt file (Opened with Notepad)
Or something to delete blank rows in specified txt file.
I need these becaue a have a code in Excel to create a txt file but these file is created with blank rows (I don't know why)
'Salveaza ordine.txt
Sheets("ordine plata").Select
Dim fileHandle As Integer
Dim thisRow As Long
fileHandle = FreeFile
Open "D:\OPFV 2016 - OP\ordine.txt" For Output As #fileHandle
For thisRow = 1 To LastRow
Print #fileHandle , Cells(thisRow, 1).Text
Next thisRow
Close Filename
Or something to delete blank rows in specified txt file.
I need these becaue a have a code in Excel to create a txt file but these file is created with blank rows (I don't know why)
'Salveaza ordine.txt
Sheets("ordine plata").Select
Dim fileHandle As Integer
Dim thisRow As Long
fileHandle = FreeFile
Open "D:\OPFV 2016 - OP\ordine.txt" For Output As #fileHandle
For thisRow = 1 To LastRow
Print #fileHandle , Cells(thisRow, 1).Text
Next thisRow
Close Filename