Reading Wordpad - Rich Text Format
All I want is the actual text:
One way to achieve this is to put a RichTextBox control on a userform.
Read your WordPad document as follows:
userform1.RichTextBox1.FileName= "C:\Document.rtf"
Get the text only from the control as follows:
RTFText = userform1.RichTextBox1.text
|