当前位置: 代码迷 >> VBA >> 关闭excel对象的有关问题
  详细解决方案

关闭excel对象的有关问题

热度:5606   发布时间:2013-02-26 00:00:00.0
关闭excel对象的问题。
我使用excel11.0   Object   Library   ,
使用   下面语句无法关闭Excel对象,仍然可以在 "任务管理器 "中看到Excel.exe进程;如果退出代码,则Excel.exe会自动结束.为什么?

xlBook.Close()
                xlApp.Quit()
                xlApp   =   Nothing
                xlBook   =   Nothing
                xlSheet   =   Nothing

------解决方案--------------------------------------------------------
最好贴上代码来看看。
------解决方案--------------------------------------------------------
我也有同样的问题
  相关解决方案