VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   3195
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   3195
   ScaleWidth      =   4680
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton Command1 
      Caption         =   "Command1"
      Height          =   495
      Left            =   1440
      TabIndex        =   11
      Top             =   720
      Width           =   1215
   End
   Begin VB.TextBox txtArray 
      Height          =   285
      Index           =   10
      Left            =   1440
      TabIndex        =   10
      Text            =   "Text1"
      Top             =   360
      Width           =   1335
   End
   Begin VB.TextBox txtArray 
      Height          =   285
      Index           =   9
      Left            =   1440
      TabIndex        =   9
      Text            =   "Text1"
      Top             =   0
      Width           =   1335
   End
   Begin VB.TextBox txtArray 
      Height          =   285
      Index           =   8
      Left            =   0
      TabIndex        =   8
      Text            =   "Text1"
      Top             =   2880
      Width           =   1335
   End
   Begin VB.TextBox txtArray 
      Height          =   285
      Index           =   7
      Left            =   0
      TabIndex        =   7
      Text            =   "Text1"
      Top             =   2520
      Width           =   1335
   End
   Begin VB.TextBox txtArray 
      Height          =   285
      Index           =   6
      Left            =   0
      TabIndex        =   6
      Text            =   "Text1"
      Top             =   2160
      Width           =   1335
   End
   Begin VB.TextBox txtArray 
      Height          =   285
      Index           =   5
      Left            =   0
      TabIndex        =   5
      Text            =   "Text1"
      Top             =   1800
      Width           =   1335
   End
   Begin VB.TextBox txtArray 
      Height          =   285
      Index           =   4
      Left            =   0
      TabIndex        =   4
      Text            =   "Text1"
      Top             =   1440
      Width           =   1335
   End
   Begin VB.TextBox txtArray 
      Height          =   285
      Index           =   3
      Left            =   0
      TabIndex        =   3
      Text            =   "Text1"
      Top             =   1080
      Width           =   1335
   End
   Begin VB.TextBox txtArray 
      Height          =   285
      Index           =   2
      Left            =   0
      TabIndex        =   2
      Text            =   "Text1"
      Top             =   720
      Width           =   1335
   End
   Begin VB.TextBox txtArray 
      Height          =   285
      Index           =   1
      Left            =   0
      TabIndex        =   1
      Text            =   "Text1"
      Top             =   360
      Width           =   1335
   End
   Begin VB.TextBox txtArray 
      Height          =   285
      Index           =   0
      Left            =   0
      TabIndex        =   0
      Text            =   "Text1"
      Top             =   0
      Width           =   1335
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim ErrorsFound As Integer, i As Integer
ErrorsFound = 0
For i = 0 To txtArray.Count - 1
    If txtArray(i).Text = "" Then
        ErrorsFound = ErrorsFound + 1
    End If
Next i
If ErrorsFound <> 0 Then
    MsgBox ErrorsFound & " errors were found! Please rectify this situation", vbOKOnly
    Exit Sub
End If
End Sub
