Thank you much , i found and corrected. Here for you. When you call the CloseMethod(your own method) private void close() { if (bodynitsApplicationClass != null) { bodynitsApplicationClass.DisplayAlerts = false; bodynitsApplicationClass.Workbooks.Close(); Marshal.ReleaseComObject(worksheetdetail); worksheetdetail = null; bodynitsApplicationClass.Quit(); Marshal.ReleaseComObject(bodynitsApplicationClass); bodynitsApplicationClass = null; } } everything dispose and close without dialog. thank you once again.
Cheers,Earn and Enjoy RRave MCTS,MCPD http://ravesoft.blogspot.com