What is error code 0x800A01A8 coming out of Excel ActiveX call?

十年热恋 提交于 2019-11-28 01:32:46

This error code means "Object Required."

It sounds like your toolkit might have a memory leak, or it is disposing of an object prematurely.

It's possible that the range object isn't being handled properly in the toolkit. If this is NI's reporting toolkit, you can possibly open the sub-vi's and place probes to troubleshoot the error. (This may have changed, though. I haven't looked at it since it was re-written.)

The Excel functions exposed in LV are variously called "automation" or its "object model". You can find information on where to locate the help for it at http://support.microsoft.com/kb/q222101/. A number of the links from that page have pretty good text code samples that can be translated into LV code if you care to do so.

Of course, NI's site has a number of Excel examples at http://www.ni.com/analysis/excel.htm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!