Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 avoiding work at the Monastery: (3)
As of 2026-01-21 20:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (125 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.