Hi, I am using the below code to Generate a text File in pipe Delimited format.
Sub ExportTxt()
Dim UsedRows As Long
Dim UsedColumns As Long
Dim R As Long, C As Long
'// Define a suitable file name
Open "E:\Folder\" & "TD.txt" For Output As #1
With ActiveSheet...