如何解决运行时错误2147417851,自动化错误,服务器抛出异常 [英] How to Solve Run-time error 2147417851,Automation Error ,the server threw an exceptional

查看:1425
本文介绍了如何解决运行时错误2147417851,自动化错误,服务器抛出异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

i是Vba编程的新手,当我使用Attachmate Extra 9.0的宏时,如果在特定的行上出现错误,部分工作正常,如下所示,任何人都可以请找到解决方案,以便它可以正常工作。





Do Scr1.GetString(k,2,2)<> ; ==



Scr1.PutStringV,k,2 / Run TimeERROR /

k = k + 1

循环

Scr1.SendKeys(< enter>)

呼叫服务员

如果是Scr1.GetString(7,22) ,13)=数据正在然后

呼叫服务员

Scr1.SendKeys(< enter>)

呼叫服务员

结束如果



先谢谢

Hi All,
i am new in Vba programing,when i am using macros with Attachmate Extra 9.0,it's worked fine partially after it will get an error on a particular line as given below, can anyone Please find the solution so that it can works fine.


Do While Scr1.GetString(k,2,2)<> "=="

Scr1.PutString "V",k,2 /Run TimeERROR/
k = k+1
Loop
Scr1.SendKeys("<enter>")
Call Waiter
If Scr1.GetString(7,22,13) ="Data is being" Then
Call Waiter
Scr1.SendKeys ("<enter>")
Call Waiter
End If

Thanks in Advance

推荐答案

我不知道依恋,但是从谷歌搜索Attachmate 2147417851之后我可以收集的内容,当你尝试推送字符串时,你的会话不是有效的状态。会话可能正在等待一些处理完成才能接受输入?
I don't know Attachmate at all, but from what I can gather after Googling for "Attachmate 2147417851", your session is not in a valid state when you try to push the string. The session may be waiting for some processing to finish before being able to accept input?


这篇关于如何解决运行时错误2147417851,自动化错误,服务器抛出异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆