Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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


Comment on Re: Word and Win32::OLE
Download Code
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 taking refuge in the Monastery: (3)
As of 2015-11-30 02:38 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (756 votes), past polls