Modify ↓
Opened 16 years ago
Closed 16 years ago
#1268 closed Bug (No Bug)
AutoIt3 and _ExcelBookClose($oExcel)
| Reported by: | 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)
Note:
See TracTickets
for help on using tickets.

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.