perlquestion
Bloodelf
<p>I am working on a script which needs to open a word (.doc) document, select all the text and then put the selected text into a variable. I can select the text, but have been unsuccessful in putting it into the variable. Here is what I have so far</P>
<code>use Win32::OLE;
my $Word = Win32::OLE->new('Word.Application', 'Quit');
$Word->Documents->Open("C:/test/test.doc");
$Word->Selection->WholeStory;
</code> <P> Any ideas....?</P>