lienlee
06-04-2010, 08:39 AM
Is there a way to set the number of rows you can have into a list box? So that only 2 values can be added.
ps. if not. my code keeps duplicating the values. what kind of if statement can i use with
ListBox1.AddItem "Sentence"
so that it will only print out when "sentence" isnt in the listbox
Ive tried doing if .value = "" and then .additem. but the output is blank.
Thanks.
ps. if not. my code keeps duplicating the values. what kind of if statement can i use with
ListBox1.AddItem "Sentence"
so that it will only print out when "sentence" isnt in the listbox
Ive tried doing if .value = "" and then .additem. but the output is blank.
Thanks.