if i have a variable A. How would i set it up so that if i click button update the variable would get it value from the listview item but if i click button Add then the varialbe would get it value from a combo box
Printable View
if i have a variable A. How would i set it up so that if i click button update the variable would get it value from the listview item but if i click button Add then the varialbe would get it value from a combo box
Is this what you mean?Code:Private Sub cmdUpdate_Click()
VariableA = ListView1.Text
End Sub
Private Sub cmdAdd_Click()
VariableA = Combo1.Text
End Sub
yup hehe it so simple n my head was so blank