07-28-2009, 03:01 PM
Yes...sure....you can pass objects as arguments...
Code:
x = SetText(Browser(B).Page(P).Frame(F).WebEdit(WB), "abcd")
Code:
Public Function SetText(pObj, pText)
If pObj.Exists Then
pObj.Set pText
End If
End Function