I got a problem, I made a loop to create checkboxes in html. I try to give the checkbox the id and name "i" But then when I press the button then it says "Object required (i)"
For i = 0 To UBound(arrDrives)
strHTML = strHTML & "<input type='checkbox' name='"& i &"' id='"& i &"'>"
Next
Sub Start_Button()
For i = 0 To UBound(arrDrives)
If i.checked Then DataA.InnerHTML = "Det dur"
Next
End Sub