I want to search and some changes o开发者_如何学编程n headers in my .doc file
The easiest way is by automating Office.
Some links:
http://support.microsoft.com/kb/316383
http://www.dreamincode.net/forums/topic/60975-office-automation/
Using VSTO.
Try googling it.
Sample here
精彩评论