AttributeError: Property 'Excel.Application.Visible' can not be set.

翻译

属性错误:Excel.Application.Visible无法设置

原因

  • 在启动Excel时目标Excel处于打开且编辑中的状态

解决方案

  • 关闭已打开的Excel并重新运行
  • 在运行应用前确保需要启动的Excel已关闭
  • 若再次运行时仍报错,尝试在任务管理器中结束Excel相关进程后再次运行
问题没有解决?去社区提问 all right reserved,powered by Gitbook

results matching ""

    No results matching ""