Page 1 of 1

Word OLE

Posted: Mon May 28, 2018 5:20 am
by Colin Haig
Hi All

Is it possible to get the text from a table cell in word using OLE - I know you can replace text in a cell.

Cheers

Colin

Re: Word OLE

Posted: Mon May 28, 2018 7:17 am
by anserkk
Did you try

Code: Select all

cText = oWord:ActiveDocument:Tables(1):Cell(1, 1):Range:Text

Re: Word OLE

Posted: Mon May 28, 2018 10:36 am
by Colin Haig
Hi Anserkk

Thanks for your reply.

Cheers

Colin