How to edit Word file in PHP or any other language?

Chinmay S September 8, 2013
Pinterest Stumbleupon Whatsapp

I have a Word file which i need to edit every 3 months and the only thing i need to edit is date. It’s a multi-page file so i want to create a script which will automatically replace the old date on specific lines with a new specified date.

Ads by Google

  1. Oron J
    September 10, 2013 at 10:17 am

    I'm not entirely sure I understand the problem, but just in case, you can do so in Word itself! For one thing, Word has "dynamic date fields" which are updated automatically, and for another, word can be programmed in its own language (the so-called "Word macros"), which will be much easier to do than in a separate environment.

  2. Hovsep A
    September 8, 2013 at 8:39 pm