Sir
I'm looking something similar to your previous code
Similar case, but instead of option button I will use checked buttonCode:If Not (optAAA.Value) + (optBBB.Value) + (optCCC.Value) Then optCCC.SetFocus MsgBox "Pls choose product" Exit Sub End If
Code:If Not (chkXXX.Value) + (chkYYY.Value) + (chkZZZ.Value) Then chkXXX.SetFocus MsgBox "Pls choose 2 or 3 brand" Exit Sub End If




Reply With Quote
Bookmarks