Hi,
My question is about the following code I came across. The code works fine.
Note that there is no dot between forms(0) and (i) in the if statement. As far as I know, in VBA there is always a dot between an object and its child object. Why no dot here?
Thanks,Code:For i = 0 To ie.Document.forms(0).Length - 1 If ie.Document.forms(0)(i).Type = "submit" Then ie.Document.forms(0)(i).Click Exit For End If Next i
MG.




Reply With Quote