i loop all the frames till i find the desired elementand also how should i know, in which frames object are exits?
vb Code:
for i = 1 to objhtmldoc.frames.length for each ele in objhtmldoc.frames(i).document.all if ele.id = "ctl06_KeepCopyCheckBox" then msgbox "ele in frame " & i : exit for ' or keep going if element could occur in more than one frame next next
working with html elements in frames can be difficult




Reply With Quote