如何使用VBA填写Internet Explorer中的文本字段? [英] How to fill a text field in internet explorer using VBA?

查看:79
本文介绍了如何使用VBA填写Internet Explorer中的文本字段?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个VBA程序可以自动执行一个互联网资源管理器进程,整个代码工作除了一个。


当我尝试使用这个代码时,

I have a VBA program that automates an internet explorer process the whole code works except one piece.

when I try using this code,

展开 | 选择 | Wrap | 行号

推荐答案

永远不会分配IEDoc变量。现在它什么都没有。
You never assign the IEDoc variable. Right now it''s nothing.


感谢您的回复哦对不起我在复制代码时错过了

thanks for your reply, oh sorry I missed up while copying the code

展开 | 选择 | Wrap | 行号


您已经实例化了一个Internet Explorer对象,但它实际上并不在页面上。它可以在空白页面上,也可以在主页上。如果它在主页上,那么页面可能还没有完成加载。
You''ve instantiated an internet explorer object but it''s not actually on a page. It''s either on a blank page or on whatever the homepage is at. If it''s at the homepage, then it''s likely the page hasn''t finished loading.


这篇关于如何使用VBA填写Internet Explorer中的文本字段?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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