FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Word OLE
Posts: 310
Joined: Mon Oct 10, 2005 05:10 AM
Word OLE
Posted: Mon May 28, 2018 05:20 AM

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

Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: Word OLE
Posted: Mon May 28, 2018 07:17 AM
Did you try

Code (fw): Select all Collapse
cText = oWord:ActiveDocument:Tables(1):Cell(1, 1):Range:Text
Posts: 310
Joined: Mon Oct 10, 2005 05:10 AM
Re: Word OLE
Posted: Mon May 28, 2018 10:36 AM

Hi Anserkk

Thanks for your reply.

Cheers

Colin

Continue the discussion