
09-08-2005, 11:08 AM
|
|
Freshman
|
|
Join Date: Apr 2004
Posts: 31
|
|
|
I don't, that the thing! I found it out by using two for loops, but this only covers frames in frames.
<vb>
'loop thru each frame getting the document in it a checking for more frames
For FrameCnt = 0 To HTMLDoc.frames.length - 1
'store the current frames document as a document
Set HTMLDoc2 = HTMLDoc.frames(FrameCnt).document
For FormCnt = 0 To HTMLDoc2.Forms.length - 1
</vb>
but unless, I do some thing like create a default 10 nested for loops and hope no one has more than 10 frames within the main frame, it wont work.
I have thought though, I can do it if I can call the same sub I am actual in, I do remember something about it, very vague though.
|
|