Dear members,
When a user makes a new selection in either Combo box DropDown1 or DropDown3, I want the following formula to be called upon to place a value in cell O2.
{=INDEX(lstMinQty,MATCH(valSize&valDirection&valUps,lstSize&lstDirection&lstUps,0))}
The resulting value in O2 informs the user that this is the minimum quantity based on his/her selection.
The user can then over-write the value in O2 by entering a value above the default minimum within the range set by Data Validation:
-Allow: Whole number
-Data: Between
-Minimum: =500*E31
-Maximum: =5000*E31-1
However, if the user then returns to the drop down lists and makes a new selection in DropDown 1 or 3, I need the minimum quantity as defined by the formula to re-appear in cell O2.
I've unsuccessfully attempted to do this as follows:
Macro name: DropDown1_Change
Sub DropDown1_Change()
Range("O2").Formula = "{=INDEX(lstMinQty,MATCH(valSize&valDirection&valUps,lstSize&lstDirection&lstUps,0))}"
End Sub
Macro name: DropDown3_Change
Sub DropDown3_Change()
Range("O2").Formula = "{=INDEX(lstMinQty,MATCH(valSize&valDirection&valUps,lstSize&lstDirection&lstUps,0))}"
End Sub
Any suggestions would be much appreciated.
Thank you.
Bart
When a user makes a new selection in either Combo box DropDown1 or DropDown3, I want the following formula to be called upon to place a value in cell O2.
{=INDEX(lstMinQty,MATCH(valSize&valDirection&valUps,lstSize&lstDirection&lstUps,0))}
The resulting value in O2 informs the user that this is the minimum quantity based on his/her selection.
The user can then over-write the value in O2 by entering a value above the default minimum within the range set by Data Validation:
-Allow: Whole number
-Data: Between
-Minimum: =500*E31
-Maximum: =5000*E31-1
However, if the user then returns to the drop down lists and makes a new selection in DropDown 1 or 3, I need the minimum quantity as defined by the formula to re-appear in cell O2.
I've unsuccessfully attempted to do this as follows:
Macro name: DropDown1_Change
Sub DropDown1_Change()
Range("O2").Formula = "{=INDEX(lstMinQty,MATCH(valSize&valDirection&valUps,lstSize&lstDirection&lstUps,0))}"
End Sub
Macro name: DropDown3_Change
Sub DropDown3_Change()
Range("O2").Formula = "{=INDEX(lstMinQty,MATCH(valSize&valDirection&valUps,lstSize&lstDirection&lstUps,0))}"
End Sub
Any suggestions would be much appreciated.
Thank you.
Bart