Prevent a .txt file file saving the last line as blank
问题 This is what I have. When this saves to .txt file I would like for the last line to be the last line of text not the open line below it. Please help! Thank you. Sub ExportColB() Dim myFileName As String, rng As Range, txt As String myFileName = Application.GetSaveAsFilename(fileFilter:="Text Files (*.txt), *.txt") If myFileName = "" Then Exit Sub With Range("d3", Range("d" & Rows.Count).End(xlUp)) If .Count < 2 Then txt = .Value Else txt = Join(Evaluate("transpose(" & _ .Address(external: