Hi! So I have a validation dropdown list with Quarter 1, Quarter 2, Quarter 3, Quarter 4, in Configuration!J15..
I want it so that when they select each one.. it'll run a macro for each.
So under my workbook vba I have
However, when i sleect any one of those in the dropdown they dont run the macros within each IF statement.... just nothing happens.
What am i doing wrong please?
Thank you so much for any help
I want it so that when they select each one.. it'll run a macro for each.
So under my workbook vba I have
Code:
Sub CandyOrder()
If (Sheets("Configuration").Range("J15").Value = "Quarter 1") Then
UnProtectAllSheets
CandyQuarter1
ProtectAllSheets
ElseIf (Sheets("Configuration").Range("J15").Value = "Quarter 2") Then
UnProtectAllSheets
CandyQuarter2
ProtectAllSheets
ElseIf (Sheets("Configuration").Range("J15").Value = "Quarter 3") Then
UnProtectAllSheets
CandyQuarter3
ProtectAllSheets
ElseIf (Sheets("Configuration").Range("J15").Value = "Quarter 4") Then
UnProtectAllSheets
CandyQuarter4
ProtectAllSheets
End If
End If
End If
End If
What am i doing wrong please?
Thank you so much for any help