Forum Discussion
tristaanogre
13 years agoEsteemed Contributor
Try this:
VBScript
Sub EnterText (strWindowName, strControlName, strValue)Set ControlObj= Eval(strWindowName & "." & strControlName)
Call ControlObj.SetText(strValue)
If Err.Number <> 0 Then
BuiltIn.ShowMessage("Data entered correctly")
Else
BuiltIn.ShowMessage("Error in forming the Control. Please try again")
End If
End sub
Related Content
- 2 months agoNicolaFilosa_SE
- 7 months agosohailalam2696
- 5 years agoAurore
Recent Discussions
- 2 hours agoMW_Didata