Wo ist der Fehler?
21.05.2009 14:51:53
Jay
ich bin noch nicht so bewandert mit Schleifen, habe vesucht ein Textfeld einzublenden, falls folgende Zellenwerte Null sind, das klappt aber leider nicht, ist da vielleicht ein Fehler drin?
If Worksheets("Tabelle1").Cells(10, 11) = "0" Then
If Worksheets("Tabelle1").Cells(11, 11) = "0" Then
If Worksheets("Tabelle1").Cells(10, 12) = "0" Then
If Worksheets("Tabelle1").Cells(11, 12) = "0" Then
If Worksheets("Tabelle1").Cells(10, 13) = "0" Then
If Worksheets("Tabelle1").Cells(11, 13) = "0" Then
If Worksheets("Tabelle1").Cells(10, 16) = "0" Then
If Worksheets("Tabelle1").Cells(11, 16) = "0" Then
Worksheets("Tabelle2").Shapes("Textfeld 1").Visible = True
Else
Worksheets("Tabelle2").Shapes("Textfeld 1").Visible = False
End If
End If
End If
End If
End If
End If
End If
End If
Grüße, Jay
Anzeige