|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Using OLE to view given Paragraph in MS Word Documentby Ray Smith (Beadle) |
| on Nov 21, 2011 at 18:49 UTC ( #939296=perlquestion: print w/ replies, xml ) | Need Help?? |
|
Ray Smith has asked for the
wisdom of the Perl Monks concerning the following question:
I currently successfully parse MS Word Documents, extracting paragraph style and text. However, I've been unsuccessful in displaying a Word Document, given a specified paragraph number.
My sample program, demonstrates my problem - I can "read through the Word document" using enumerate->Next() (I'd rather position directly but Skip() doesn't seem to work), and although it appears that I get to the desired paragraph, the display does not appear. I see that Selection may be what I want but I can't figure how to make that work. I lack the VBA documentation. And when I see some samples, I have not been successful in translating them to Perl / OLE calls. Thanks for your attention.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||