Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Edit Microsoft Word Documents

by zek152 (Pilgrim)
on Aug 01, 2011 at 20:22 UTC ( [id://917911]=note: print w/replies, xml ) Need Help??


in reply to Edit Microsoft Word Documents

A few ideas for you to try:

  1. Open the document. Type CTRL-F. Click on the replace tab and find&replace away.
  2. Use Win32::OLE. This will be more difficult but will allow automation
  3. Use Text::Extract::Word to extract the text and then use Win32::Word::Writer to recreate the document.
Hope this helps some. This will be pretty difficult since you are new to Perl but that's just the way it is with the task you have. Feel free to ask for help with other issues that arise.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2026-01-19 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (122 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.