I think you have to use Dim ARitem As ICOMField2
the parameter Value is ok but there isn't the "click" method you can use the GiveFieldFocusById method to fire your workflow Ciao Mauro 2007/8/23, theeptii thamizharasu <[EMAIL PROTECTED]>: > > ** 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.<http://in.rd.yahoo.com/tagline_mail_10/*http://mrd.mail.yahoo.com/dc/landing>__20060125_______________________This > posting was submitted with HTML in > it___ > > _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers Are"

