[FONT=arial]Public Sub ToText()[/FONT]
[FONT=arial] Dim fso As Object[/FONT]
[FONT=arial] Set fso = CreateObject("Scripting.<wbr>FileSystemObject")[/FONT]
[FONT=arial] Dim Fileout As Object[/FONT]
[FONT=arial] Dim Ext As String 'Extension[/FONT]
[FONT=arial] On Error Resume Next[/FONT]
[FONT=arial] Path = CreateObject("WScript.Shell").<wbr>SpecialFolders("Desktop")[/FONT]
[FONT=arial] Ext = "txt" ' Ext="[/FONT][COLOR=#333333]cnc[/COLOR][FONT=arial]" or [/FONT][FONT=arial] Ext=[/FONT][FONT=arial] "[/FONT][COLOR=#333333]csv[/COLOR][FONT=arial]"[/FONT]
[FONT=arial] Set Fileout = fso.CreateTextFile(<wbr>ThisWorkbook.Path & "\vba.Ext", True, True)[/FONT]
[FONT=arial] Set Fileout = fso.CreateTextFile(Path & "\vba.txt", True, True)[/FONT]
[FONT=arial] On Error GoTo 0
[/FONT]''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
[FONT=arial] Set MyRange = Range("A3:H5") 'Select Your Range'
[/FONT]''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
[FONT=arial] Fileout.Write "Good Day All" & vbNewLine[/FONT]
[FONT=arial] Fileout.Write "What you want to say" & vbNewLine[/FONT]
[FONT=arial] For Each Rng In MyRange[/FONT]
[FONT=arial] Fileout.Write Rng.Value & vbNewLine[/FONT]
[FONT=arial] Next[/FONT]
[FONT=arial] Fileout.Write "end of message" & vbNewLine[/FONT]
[FONT=arial] Fileout.Write "Thank" & vbNewLine[/FONT]
[FONT=arial]
[/FONT]
[FONT=arial] Fileout.Close[/FONT]
[FONT=arial] Shell "Notepad " & ThisWorkbook.Path & "\vba.txt", vbMaximizedFocus[/FONT]
[FONT=arial]End Sub[/FONT]