in reply to how could i get the exactly text with OLE Word

If you copy-and-pasted that code (which I hope you did - and if not, shame on you), then you have a serious problem with the critical line. It should look like this:
$Word->Selection->Tables(1)->Cell(1,1)->Range->Text;
Besides getting the object model straight (which, I admit, is a very difficult and time-consuming chore), you must also pay attention to your perl syntax. You had
Columns(1)-Row(1)
which is clearly not right: it looks like subtraction!

jdporter
The 6th Rule of Perl Club is -- There is no Rule #6.

Replies are listed 'Best First'.
Re: Re: how could i get the exactly text with OLE Word
by teabag (Pilgrim) on May 09, 2003 at 13:16 UTC
    Yup, that works perfectly!

    Teabag
    Sure there's more than one way, but one only needs one anyway - Teabag

Re: Re: how could i get the exactly text with OLE Word
by rootstock (Novice) on May 13, 2003 at 00:34 UTC
    yes, it works, thank you very much.