Filling Internet Explorer inputbox

前端 未结 3 1516
你的背包
你的背包 2021-01-19 01:38

I read so many answers to my problem but somehow if I try to \"mimic\" what I see, I still am not able to do what I need.

The problem is very simple: fill an inputbo

3条回答
  •  日久生厌
    2021-01-19 01:51

    You can try cycling all input and selecting the one is named as you need:

    Set Elements = IE.document.getelementsbytagname("Input")
    For Each Element In Elements
        If Element.Name = "Nachnamevalue" Then
            Element.Value = {Here your value}
            Exit For
        End If
    Next Element
    

提交回复
热议问题