Hello addictive_mate,
Copy this code to a standard VBA module in the workbook's VBA Project. Change the NewName and FilePath to what you want to use.
Sub SaveAsTextFile()
Dim FilePath As String
Dim NewName As String
Dim NewWkb As Workbook
FilePath = "C:\Documents and Settings\Owner"
FilePath = IIf(Right(FilePath, 1) <> "\", FilePath & "\", FilePath)
NewName = "Text Copy of " & ActiveWorkbook.Name
Worksheets("Sheet1").Copy
Set NewWkb = ActiveWorkbook
With NewWkb
.SaveAs FilePath & NewName, xlCSV
.Saved = True
.Close
End With
End Sub
Bookmarks