Word OLE

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

Word OLE

Post 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
User avatar
anserkk
Posts: 1280
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: Word OLE

Post by anserkk »

Did you try

Code: Select all

cText = oWord:ActiveDocument:Tables(1):Cell(1, 1):Range:Text
Colin Haig
Posts: 310
Joined: Mon Oct 10, 2005 5:10 am

Re: Word OLE

Post by Colin Haig »

Hi Anserkk

Thanks for your reply.

Cheers

Colin
Post Reply