Hallo ich hab hier ein problem, kann mir da jemand bitte helfen ?
Wie kann ich das in einer Schleife abbilden ?
Dim CountPartLists As Integer
CountPartLists = 2
If CountPartLists >= 1 Then
Button1.Enabled = True
If CountPartLists >= 2 Then
Button2.Enabled = True
If CountPartLists >= 3 Then
Button3.Enabled = True
If CountPartLists >= 4 Then
Button4.Enabled = True
If CountPartLists >= 5 Then
Button5.Enabled = True
End If
End If
End If
End If
End If
Wie kann ich das in einer Schleife abbilden ?
Dim CountPartLists As Integer
CountPartLists = 2
If CountPartLists >= 1 Then
Button1.Enabled = True
If CountPartLists >= 2 Then
Button2.Enabled = True
If CountPartLists >= 3 Then
Button3.Enabled = True
If CountPartLists >= 4 Then
Button4.Enabled = True
If CountPartLists >= 5 Then
Button5.Enabled = True
End If
End If
End If
End If
End If
Comment