Excel 如何获取Google表单下拉列表的唯一ID?

Excel 如何获取Google表单下拉列表的唯一ID?,excel,vba,Excel,Vba,我想使用Excel宏自动填写Google表单 我需要用于下拉列表的唯一ID,该ID可用于web表单(通过Inspect元素) 如何获取Google表单下拉列表的ID Sub Test1() Dim IE As Object Set IE = CreateObject("InternetExplorer.Application") IE.Visible = True IE.navigate "https://docs.google.co

我想使用Excel宏自动填写Google表单

我需要用于下拉列表的唯一ID,该ID可用于web表单(通过Inspect元素)

如何获取Google表单下拉列表的ID

Sub Test1()
    Dim IE As Object
    Set IE = CreateObject("InternetExplorer.Application")
    IE.Visible = True
    IE.navigate "https://docs.google.com/forms/d/e/cccccccccccccccccccccccccccccccc/viewform"
    Do While IE.Busy
        Application.Wait DateAdd("s", 1, Now)
    Loop
    doc.getElementByI(" xxxxxxx").data-value = 1 Dhagera
End Sub