D
Dave B
I'm copying some text from Word into .txt files using:
ActiveDocument.Range(Start:=intStart, End:=intEnd).Select
sTextContents = Selection.Text
Open sFilename For Output As #1
Print #1, sTextContents
When I open the .txt files in Notepad, some characters don't come through
(e.g. the TM character which stands for Trademark) and the hard returns show
up as solid black boxes. I got better results when I manually (ugh!) copied
text and pasted it into Notepad. Is there a better variable type to use
(instead of String) or a better way to do this? Thanks.
ActiveDocument.Range(Start:=intStart, End:=intEnd).Select
sTextContents = Selection.Text
Open sFilename For Output As #1
Print #1, sTextContents
When I open the .txt files in Notepad, some characters don't come through
(e.g. the TM character which stands for Trademark) and the hard returns show
up as solid black boxes. I got better results when I manually (ugh!) copied
text and pasted it into Notepad. Is there a better variable type to use
(instead of String) or a better way to do this? Thanks.