I just posted this as an answer to another question about Office automation, but I think this is the right answer to this question (especially because you're looking for a free or low-cost solution).
I had no problems (poor performance, process hangs, process failures, etc.) using Microsoft Excel, Word and PowerPoint through interaction in a web service for printing Office documents in PDF format. I also ran into problems that I suspect were caused by invisible dialog boxes (the file may be damaged, only reading is recommended, the file is password protected or something else).
I know that there are tools that do not use Office, but they are very expensive. My solution was to switch to OpenOffice automation. OpenOffice seems a lot more stable, and I left the freezing processes and the like.
So, although I believe that I say "do not automate Microsoft Office", I do not propose to completely abandon automation; I just had a lot more success in OpenOffice automation than in Microsoft Office.
Cocowalla Sep 08 '09 at 13:44 2009-09-08 13:44
source share