In my program, it calls WINWORD to perform some task without showing screen. When the program finishs everything, the WINWORD still be hidden. Is there a way to detect and close it?

Thanks in advance.