Hi
sungy,
I am not at all surprised that the code you have tried does not work.
I suggest you take a look at the
Win32::OLE module.
Using
Super Search (try searching for the following string: Win32::OLE word) you will be able to find many examples of using
Win32::OLE to automate Microsoft word. If you have not already done so please read the
Perlmonks FAQ and
How do I post a question effectively?.
Hope this helps.
Martin