Excel COM Random Error 0x800A03EC Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
corcova
Posts: 14
Joined: 23 Apr 2022, 11:59

Excel COM Random Error 0x800A03EC

Post by corcova » 26 May 2022, 09:20

hi folks!
I have a script which pastes some text in excel via COM.

The problem is: sometimes it works perfectly. Some times it gives me an error.
What could be causing those random errors?


The excel sheet stays always opened. This is the entire excel code. After that im just using the extracted variables

Code: Select all

excel := ComObjActive("Excel.Application")																
excel.Range("B1").PasteSpecial(-4104)
msgcopiada := excel.Range("A1").Value
bh_ou_longe := excel.Range("N17").Value
numerozap_contato := excel.Range("M4").Value
clipboard := msgcopiada
excel.columns("B").clear
Error image
Image

User avatar
flyingDman
Posts: 2817
Joined: 29 Sep 2013, 19:01

Re: Excel COM Random Error 0x800A03EC

Post by flyingDman » 26 May 2022, 09:37

Search for that error code. It is possible your Excel is not properly registered.
14.3 & 1.3.7

RussF
Posts: 1264
Joined: 05 Aug 2021, 06:36

Re: Excel COM Random Error 0x800A03EC  Topic is solved

Post by RussF » 26 May 2022, 09:39

A Google search of "excel error 0x800a03ec" brought over 25,000 hits. There doesn't seem to be any one definitive solution. I would explore the various issues presented there and see if any of them fit your situation.

Russ

corcova
Posts: 14
Joined: 23 Apr 2022, 11:59

Re: Excel COM Random Error 0x800A03EC

Post by corcova » 26 May 2022, 09:48

flyingDman wrote:
26 May 2022, 09:37
Search for that error code. It is possible your Excel is not properly registered.
Hey! like an error by using a non original registered product?

User avatar
flyingDman
Posts: 2817
Joined: 29 Sep 2013, 19:01

Re: Excel COM Random Error 0x800A03EC

Post by flyingDman » 26 May 2022, 10:04

In my experience this error code came up with registration issues. I have no idea if that was related to non original versions of excel.
14.3 & 1.3.7

Post Reply

Return to “Ask for Help (v1)”