I need to save some information as text after running some VBA. It could have any number of lines.
But, it seems to add blank lines at the end of the file. I am saving the document as text with LF Only as follows:
Code: Select all
TDoc.SaveAs2 FileName:=sLocalFileName, FileFormat:=wdFormatText, LineEnding:=wdLFOnly
Thanks.
Robie