J
jjfeenix
I have DOCs containing tables that are converted to text with asterisks as
the delimiter. I remove empty paras at the end of the files, because empty
paras equal empty records when these TXT files are feed into a reporting
system later.
The problem is that after saving as CRText and reopening I find 3 empty
paras. Why and how do I fix it? I can reopen the files, strip out the empties
and then resave, manually and they don't exhibit the extra empties. While I
could add code to this, I'm hoping there's an easier way.
BTW, the Header and footer are empty and there are no page numbers.
Here's the code I'm using for the save:
Application.DefaultSaveFormat = "CRText" ' forces "txt" style
save
ActiveDocument.Save
Application.DefaultSaveFormat = "" ' returns save
type to normal
ActiveDocument.Close
Thanks in advance
JohnS
the delimiter. I remove empty paras at the end of the files, because empty
paras equal empty records when these TXT files are feed into a reporting
system later.
The problem is that after saving as CRText and reopening I find 3 empty
paras. Why and how do I fix it? I can reopen the files, strip out the empties
and then resave, manually and they don't exhibit the extra empties. While I
could add code to this, I'm hoping there's an easier way.
BTW, the Header and footer are empty and there are no page numbers.
Here's the code I'm using for the save:
Application.DefaultSaveFormat = "CRText" ' forces "txt" style
save
ActiveDocument.Save
Application.DefaultSaveFormat = "" ' returns save
type to normal
ActiveDocument.Close
Thanks in advance
JohnS