With VBA, I don't see a way to extract data from a file without opening it
first. You may need a different approach. If, somehow, you can copy the RTF
file content to the clipboard, pasting in plain text format (via VBA) could
be done, of course.
--
Stefan Blom
Microsoft Word MVP
---------------------------------------------
"Jans" wrote in message
Well, since Word can open RTF files, you can use Word's SaveAs method to
convert it into plain text format.
What kind of text box are you referring to? A Word text box? Or a text
form
field?
--
Stefan Blom
Microsoft Word MVP
---------------------------------------------"Jans" wrote in message
Hi there,
I would like to place text into a textbox. I read a rtf file. Is there
a function to convert the rtf to plain text?
I dont want to use the richtextbox control.
Thanx
I don't want to open the file in word, it takes to long, is there a
vba function to convert te rtf text to plain text?