I have some 10 MS Word files in a folder. In some 4 files there is a particular word say mm-dd-yy. i have to loop through that folder and look up for the word mm-dd-yy. I have to replace those words in the files with a text say 01-10-02. Can any one give me code in VB / Java at the earliest.