Modify

Opened 10 years ago

Closed 10 years ago

#1268 closed Bug (No Bug)

AutoIt3 and _ExcelBookClose($oExcel)

Reported by: rvdkonijnenburg@… Owned by: Gary
Milestone: Component: Standard UDFs
Version: 3.3.0.0 Severity: None
Keywords: Cc:

Description

When closing an Excel workbook with the _ExcelBookClose function, the workbook stays open in the background when the AutoIt3 script is still running. You can only solve this by Ctrl-Alt-Del and closing EXCEL.EXE. Downside during script operation is that the Excel file cannot be opened. Tested on .xls files.

Try opening the file during the last sleep function, it will not work, only when AutoIt3 is terminated:

#include <Excel.au3>

Local $oExcel = _ExcelBookOpen(test.xls", 1)
Sleep(5000)
_ExcelBookClose($oExcel,0,0)
Sleep(10000)

Attachments (0)

Change History (1)

comment:1 Changed 10 years ago by Valik

  • Resolution set to No Bug
  • Status changed from new to closed

How many times must I tell you people to read WikiStart and to always test with the latest beta? This does not occur in 3.3.1.4.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain Gary.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.