Hi, I'm having trouble with my program. It seems that when I include the line $oFrames = _IEFrameGetObjName ($oIE, "rtop") in my program, an error occurs: If String($o_object.document.body.tagName) = "FRAMESET" Then If String($o_object.document^ ERROR Please help.