定义excel对象Dim excelApp As ObjectSet excelApp = CreateObject("Excel.APPLICATION")卸载excelApp .quitset excelApp =nothing