VB错误462远程服务器不存在或不能使用

2025-03-21 18:37:45
推荐回答(1个)
回答1:

Set xlBook = Nothing
Excel.Application.Quit
Set xlApp = Nothing

Application.Quit
ExcelApplication1 = Null

这一堆不对
应该是
xlBook.close
Set xlBook = Nothing
xlApp.Quit
Set xlApp = Nothing