Trying to save the data in worksheet name "CONCATENATE" as a text file, in the current workbook directory, same name as work book, close text file.
Thanks in advance.
Thanks in advance.
Code:
<code class="vbscript">Sub Macro4()
'
' Macro4 Macro
'
'
Sheets("Concatenate").Select
Columns("A:A").Select
Selection.Copy
Workbooks.Add
ActiveSheet.Paste
Application.CutCopyMode = False
ActiveWorkbook.SaveAs Filename:=
ActiveWorkbook.Path & "\"
& FileFormat:=xlText, CreateBackup:=False
ActiveWorkbook.Save
ActiveWindow.Close
End Sub
</code>