wie kann man 93 Label und 124 Textboxen auf einer UF erstellen, so das man
das händige auf der Oberfläche gespart hat.
mfg
wolfgang
For x = 0 to 3
For y = 1 to 31
Controls("TextBox" & x * 31 + y).Text = Cells(y + 13, x + 4).value
Next
Next
Gruß DanielPrivate Sub TextBox1_Enter()
TextBox1.BackColor = &HC0C0FF 'hellrot
'&H80000005& weiß
End Sub
Private Sub Textbox1_Exit(ByVal Cancel As MSForms.ReturnBoolean)
'
Private Sub TextBox1_Enter()
ActiveSheet.Range("D14") = TextBox1
TextBox1 = ActiveSheet.Range("D14").Value
TextBox1.BackColor = &H80000005 'weiß
ActiveSheet.Range("E14").Select
Selection = Selection.Value
End Sub
gruß wolfgang