Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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

Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2016-10-26 04:56 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (333 votes). Check out past polls.