05-25-2018, 11:15 AM
Solved it. Since I used the ucase for switch statement the Case values should be in upper case like below. Not deleting this post as it be useful for someone else.
Code:
Select Case ucase(SelectSubmitOrCancel)
Case "SUBMIT"
Case "CANCEL"