Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Compare Listbox values with Collection values
Say frm1.lb1.Column(1) and Column(2) are populated
from a range in a worksheet. Say a Collection has been built of unique and sorted values. Can I compare the values in the Collection with the values in Column(1) of the listbox such that: a) if the the value exists in the lb, then ok. b) if it doesn't, then add it to the lb. c) if there's a value in the lb that's not in the Collection, then remove it (and the lb.Column(2) value from the lb. Is this possible, please? Regards. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.518 / Virus Database: 316 - Release Date: 11/09/2003 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Compare values on sheet 1 to values on sheet2 | Excel Worksheet Functions | |||
Excel Compare values in columns & display missing values in a new | Excel Discussion (Misc queries) | |||
compare values between workbooks and copy values | Excel Programming | |||
Sorting ListBox results or transposing ListBox values to other cells for sorting | Excel Programming |