-
I'm using this software that allows vb scripting in the background. The userlist already in use can't be edited to meet the needs of other userlist fields that I have to define. I would like to be able to do this by programming certain names in to the user list.
here/s my code
Sub TechMail()
TechServ.ClearList
TechServ.Value = ""
TechServ.Addtolist("terry")
TechServ.Addtolist("hany")
TechServ.Addtolist("mike")
TechServ.Addtolist("Al")
End Sub
this doesn't over ride the other userlist, I thought by useing the clearlist method it would erase all the predefined userlist people and then add the ones I wnated..it doens't work can anyone help............ :-)
-
I'm not sure if it will do anything diffrent, but try this:
Code:
Sub TechMail()
TechServ.Addtolist "terry"
TechServ.Addtolist "hany"
TechServ.Addtolist "mike"
TechServ.Addtolist "Al"
End Sub