CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Win32 Programming Help:
Need help modifying MS word document


New User

Nov 6, 2007, 1:51 PM

Post #1 of 2 (7719 views)
Need help modifying MS word document Can't Post


I have a MS word document. Is it possible to modify the word document using the Perl script. I know it is possible to convert MS word .doc to .txt and do the changes. But if I do that I will lose all the formatting.

Can you please help me with the following questions:-

1. Is it possible to write to MS word document at the end of an already existing MS word document,

2. My another question is "Is it possible to scan the MS word document and if there is a pattern match, add some text before the pattern.
For eg: If my perl script finds a pattern "Requirement no" it has to add "Test Group" in red color on top of that line.

I would appreciate your tips and suggestions.

Thanks in advance,


Nov 6, 2007, 4:44 PM

Post #2 of 2 (7717 views)
Re: [newbie11] Need help modifying MS word document [In reply to] Can't Post

Search CPAN for 'Word':

I have never used any modules that modify or create Word documents and have no wish to start learning, so I can't be of amymore help.


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives