A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi Thomas
My name is Jegan, would like to assist you in your Excel query.
is the code you are looking for?
ActiveWorkbook.SaveAs Filename:= "[drive letter]:[directory][filename].txt", FileFormat:= xlCurrentPlatformText , CreateBackup:=False
Replace "[drive letter]" with the letter of the drive to which you want to write the file. Replace "[directory]" with the target directory, and replace "[filename]" with the desired name of the text file.