I am trying to create a listbox in an order sheet that populates the listbox with Names from a master sheet by comparing the Store number.
So Store number in Sheet1 = 999
The bottom of the order sheet has Food Products or should, I want a listbox there that populates the food product names from the master list by adding whatever items from Sheet 2 that have Store number = 999 in Colum C...
So, Store number in Sheet1 = 999
Sheet 2
Column A Column C
Lettuce 999
Tomatoes 999
Bread 742
Onions 874
So the listbox should have Lettuce and Tomatoes in it not the others... obviously this is a small example and there are hundreds of items but can someone please help me on how to do this... I cannot figure it out using VBA...
So Store number in Sheet1 = 999
The bottom of the order sheet has Food Products or should, I want a listbox there that populates the food product names from the master list by adding whatever items from Sheet 2 that have Store number = 999 in Colum C...
So, Store number in Sheet1 = 999
Sheet 2
Column A Column C
Lettuce 999
Tomatoes 999
Bread 742
Onions 874
So the listbox should have Lettuce and Tomatoes in it not the others... obviously this is a small example and there are hundreds of items but can someone please help me on how to do this... I cannot figure it out using VBA...