我是VBA的新手,我得到错误424或连续需要对象错误。我相信我做错了什么。 这是代码
Sub test544()
Dim chromePath As String
chromePath = """C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"""
Shell (chromePath & " -url http://ndlm.in/admin/students/registrations")
DoEvents
IE.Document.All("data[Student][panchayat_id]").Value = ActiveSheet.Range("b2").Value
End Sub
我想要做的是在Chrome中打开某个页面并将值放在字段B2中的字段名称数据[学生] [panchayat_id] 请帮忙