Hello all,
I need guidance with the following if possible:
I have a form with multiple list boxes that contains three columns; column (0) contains a part number, column (1) the quantity and column (2) the product code. Each list box represents a location on a warehouse and on these locations only certain products can be stored, so for example, listbox 1 is only supposed to have products with code 1F and so on. My question is the following : how can I make the list box background change to red if on a listbox that only product “1F” is supposed to be there but it also contains product “B”, so in other words if it does not belong there can the list box via VBA code be changed to a different color based on that list box having different product codes when only one type is supposed to be there?