Page 1 of 1
Convert a word file to pure txt
Posted: Sat Oct 14, 2023 9:32 am
by elvira
Hi,
How can convert a word file to txt so i can do searches via memoread().
Thank you!
Re: Convert a word file to pure txt
Posted: Sat Oct 14, 2023 10:28 am
by anserkk
Programmatically Open the word file, then use the Save As method and then choose Plain Text. Now you read this text file via Memoread and do whatever you want.
Another way is to read the entire text contents of a word document to a memory variable and then use it as per your requirement
Code: Select all | Expand
// Read the text contents into the TextContents variable
cTextContents = oWordDoc:Content:Text