Public WithEvents txtb As MSForms.TextBox
Dim Cls(1 To 8) As New UserForm1
Private Sub txtb_Change()
Dim x As Boolean
x = True
For i = 1 To 8
If UserForm1.Controls("Textbox" & i) = "" Then x = False: Exit For
Next
UserForm1.CommandButton1.Enabled = x
End Sub
Private Sub UserForm_Activate()
CommandButton1.Enabled = False
For i = 1 To 8
Set Cls(i).txtb = Me.Controls("Textbox" & i)
Next
End Sub