Form1 contains some textboxes and comboboxes which their Tag are "T" .
in the following code i want to show a warning msgbox when i press return key if any of these controls = ""
Private Sub Form_KeyPress(KeyAscii As Integer)
Dim Ctrl As Control
If KeyAscii = 13 Then
For Each Ctrl In Controls
If Ctrl.Tag = "T" Then
If Ctrl = "" Then
MsgBox "Fill this control"
in this code I receive many msgboxes but I need only one msgbox and after i click OK the focus stay in this blank control to fill it.