in reply to Re^2: To Read and Edit docx files in Windows 7
in thread To Read and Edit docx files in Windows 7
Firstly, I highly recommend using use strict; and use warnings; or use version; (replacing version with your Perl version number). Especially when using Win32::OLE.
Next, I highly suspect $word->Quit(); is not necessary, as Word should already close when you close the last document you have open. This is (I think) the most likely source of the error you are experiencing.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: To Read and Edit docx files in Windows 7
by DVCHAL (Novice) on Dec 16, 2014 at 05:11 UTC | |
by Anonymous Monk on Dec 16, 2014 at 07:26 UTC | |
by DVCHAL (Novice) on Dec 16, 2014 at 10:54 UTC | |
by soonix (Chancellor) on Dec 17, 2014 at 08:00 UTC |