[Migrated content. Thread originally posted on 08 December 2005]
I am trying to get the text from within a Word document via ActiveX control to allow me to print this. I select the contents of the document and then inquire the text property. The problem is that the text that I get stops at the first single quote (') or double quote (").The code is:
*Select the current document.
MODIFY wrdDoc @Select()
*Get the current selection of the document.
INQUIRE wrdApp Selection IN wrdSelection
* Put text in buffer for printing on Linux
initialize ws-letter-buffer
inquire wrdSelection @Text in ws-letter-buffer
2 questions - am I doing the right thing and if so how do I get all the data in the letter



