Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Word and Win32::OLE

by CubicSpline (Friar)
on Sep 20, 2001 at 21:56 UTC ( #113652=note: print w/ replies, xml ) Need Help??


in reply to Word and Win32::OLE

Are you sure that the method WholeStory is the one you want to call? The default property for the Selection object is Text. try

$Word->Selection->{Text};


Comment on Re: Word and Win32::OLE
Download Code
Re: Re: Word and Win32::OLE
by CubicSpline (Friar) on Sep 20, 2001 at 22:06 UTC
    Rereading your post, I think I might have jumped the gun. It looks like the WholeStory method selects the entire text of the document. So you'd still want to do that, but then try setting your variable with the Text property call as shown.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://113652]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2014-08-23 10:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (173 votes), past polls