Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2014-10-21 06:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (97 votes), past polls