Word OLE

Word OLE

Postby Colin Haig » Mon May 28, 2018 5: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
Colin Haig
 
Posts: 310
Joined: Mon Oct 10, 2005 5:10 am

Re: Word OLE

Postby anserkk » Mon May 28, 2018 7:17 am

Did you try

Code: Select all  Expand view
cText = oWord:ActiveDocument:Tables(1):Cell(1, 1):Range:Text
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: Word OLE

Postby Colin Haig » Mon May 28, 2018 10:36 am

Hi Anserkk

Thanks for your reply.

Cheers

Colin
Colin Haig
 
Posts: 310
Joined: Mon Oct 10, 2005 5:10 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 49 guests