Hey guys,
I have to write a bit of code for a small database where I'm using Excel/VBA.
I have the following database of roses that are for sale within a small company:
I have a userform running that looks like this:
I need a piece of code, where when the user selects the type of ROSE - the code will look up the available stock of each CATEGORY of that particular ROSE (i.e Ground Cover, Climber, Standard or Bush)
In the second list box, I need to show only the variety selection if there is stock (i.e Quantity > 0)
So in this instance, when the "PEACE" selection is made, the second list box should only have "BUSH" and "STANDARD"
I have no idea how to get this working.... any help?
I've gotten up to the bit of getting the first listbox and capturing the selection there, but no idea how to use this selection to fill the second list box.
I have to write a bit of code for a small database where I'm using Excel/VBA.
I have the following database of roses that are for sale within a small company:
I have a userform running that looks like this:
I need a piece of code, where when the user selects the type of ROSE - the code will look up the available stock of each CATEGORY of that particular ROSE (i.e Ground Cover, Climber, Standard or Bush)
In the second list box, I need to show only the variety selection if there is stock (i.e Quantity > 0)
So in this instance, when the "PEACE" selection is made, the second list box should only have "BUSH" and "STANDARD"
I have no idea how to get this working.... any help?
I've gotten up to the bit of getting the first listbox and capturing the selection there, but no idea how to use this selection to fill the second list box.