I am working on Remedy automation using VBA. I need to know
1. How to get all children at one go?
2. Why does Click() fail for the following snippet
Dim objARSession As New ARUSER.COMAppObj
Dim objARWindow As ARUSER.ICOMFormWnd2
Dim sessionID As Long
Dim strSystem, stUserName, stPassword As String
Dim ARitem As Object
sessionID = objARSession.Login(stUserName, stPassword, 0)
Set objARWindow = objARSession.LoadForm(sessionID, strSystem, "Home Page", "",
ARDisplay, 1)
Set ARitem = objARWindow.GetFieldById(1575) '<--- This is a button object
MsgBox (ARitem.Value) '<-- Returns the exact label of the button
ARitem.Click() '<--- Fails here :(
Please help.
Thanks
---------------------------------
Try the revolutionary next-gen Yahoo! Mail. Click here.
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the
Answers Are"