Opened 5 years ago

Closed 5 years ago

#3683 closed Bug (No Bug)

Variable must be of type object

Reported by: anonymous Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


I use ObjEvent("AutoIt.Error", "function") to handle COM errors so they won't causes to close the script. But I still get standard message when I type:

excel.cells(1, 1).value = 1

when excel is not an object.

But what's interesting I don't get message when I type the same code in MsgBox function.

MsgBox(0,"",excel.cells(1, 1).value = 1)

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by Melba23

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

Please use the forum for queries.


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

as closed The ticket will remain with no owner.

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

Note: See TracTickets for help on using tickets.