On process button it wouldn't check even if From and To fields are entered by user if range option is selected instead of All option. 1. What you can do is to add a custom button on your window, hide GP Process button. 2. Add modified window in VBA, and all the fields on the window you want to verify. and then add a below code in your custom button. add fields as you want to verify their values. Private Sub CustomProcess_Changed() If FromBin = "" Then MsgBox "select bin" Exit Sub End If 'If FromSite = "" Then 'MsgBox "select Site" 'Exit Sub 'End If RemoveBins.Process.Value = True End Sub
↧