Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^4: Using OLE to view given Paragraph in MS Word Document

by Ray Smith (Beadle)
on Nov 22, 2011 at 15:53 UTC ( [id://939479]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Using OLE to view given Paragraph in MS Word Document
in thread Using OLE to view given Paragraph in MS Word Document

Your advice was spot on! This is what I was missing, to view the specified paragraph:
$paragraph = $paragraphs->Item( $i ); $paragraph->{Range}->Select(); # <<<<<Added
I appologize for not being clear. I have a simple application that uses Microsoft Word for user generated input source. My goal, which I can now approach with your help, is, when an error in this user input file is discovered, to bring up the source file with the view positioned to facilitate the user making required modifications to correct the error(s).

Thanks again for the help.

Replies are listed 'Best First'.
Re^5: Using OLE to view given Paragraph in MS Word Document
by ricDeez (Scribe) on Nov 22, 2011 at 20:47 UTC

    I am glad to be of help. I am fairly new to Perl myself but have quite a bit of experience in developing MS Office automation applications. They are just more fun doing in Perl!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (1)
As of 2024-04-25 04:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found