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
use Win32::OLE; my $Word = Win32::OLE->new('Word.Application', 'Quit'); $Word->Documents->Open("C:/test/test.doc"); $Word->Selection->WholeStory;
Any ideas....?
In reply to Word and Win32::OLE by Bloodelf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |