Ich habe für eine Userform 14 Textboxen. Beim Initialisieren soll VBA die Werte aus der Tabelle in die Textbox eintragen. Bislang löse ich das so:
With ActiveCell
TextBox1.Value = Format(Cells(5, 2).Value, Cells(.Row, 2).NumberFormat)
TextBox2.Value = Format(Cells(5, 3).Value, Cells(.Row, 3).NumberFormat)
..... und so weiter .......
Wie kann man das mit einer Schleife lösen?
Vielen Dank im Voraus!
Maik