【问题标题】:How to refer to Google translate result box in VBA如何在 VBA 中引用谷歌翻译结果框
【发布时间】:2018-06-07 05:52:11
【问题描述】:

我想参考 VBA 中的谷歌翻译结果框。这是我的一段代码: Kom.Offset(0, 1).Value = .getElementByID("result_box").Value 但我收到“对象不支持此属性或方法”的错误。

【问题讨论】:

标签: vba


【解决方案1】:

非输入元素没有Value 属性。试试:

.getElementByID("result_box").innerText

【讨论】:

猜你喜欢
  • 2019-02-23
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2023-02-18
相关资源
最近更新 更多