ricafonyat
New Member
- Joined
- May 1, 2017
- Messages
- 9
- Office Version
- 365
- Platform
- Windows
I am trying to populate 10 TextBoxes in a Userform with values from Cells located in Sheet1 - Cells in Collumn E and starting in Row 4.
The below For Next Loop is not working correctly, because All textboxes are showing the same value ( Value from sheet1 cell E13)
Any help would be appreciated
The below For Next Loop is not working correctly, because All textboxes are showing the same value ( Value from sheet1 cell E13)
VBA Code:
Dim row As Long
For counter = 1 To 10
For row = 4 To 9
Userform1.Controls("TextBox" & counter).Value = Sheet1.Cells(row, "E")
Next row
Next counter
Any help would be appreciated