Hi, Anyone knows how to close the text window. When I use sendcommand, Each time in the middle of program I have to manually to close the text window. Is there any way I can use VB code to close this window? thanks John