【发布时间】:2020-10-20 03:38:08
【问题描述】:
遵循 dxl 代码未在我的 PC 中打开 Excel 应用程序。我怀疑我运行的早期 dxl 脚本。它激活了 Excel Ole Objects 并打开了它们。如何关闭由早期 dxl 脚本打开的所有 excel 进程? 任何帮助将不胜感激。
OleAutoObj objExcel = oleCreateAutoObject("Excel.Application")
if (objExcel != null){
bool excelVisible
oleGet(objExcel, "Visible", excelVisible)
if (excelVisible == false){
olePut(objExcel, "Visible", true)
}
}
-Ashok Anumula
【问题讨论】: