|
-
Jul 18th, 2000, 11:37 PM
#1
Thread Starter
Junior Member
I want to make a loop to replace this.
With frmtemp
.Text(0) = strCell(0)
.Text(1) = strCell(1)
.Text(2) = strCell(2)
.Text(3) = strCell(3)
.Text(4) = strCell(4)
End With
Any help would be greatly appreciated.
-
Jul 18th, 2000, 11:39 PM
#2
Try:
Code:
Dim lIndex As Long
For lIndex = 0 To 4
frmTemp.Text(lIndex) = strCell(lIndex)
Next
-
Jul 18th, 2000, 11:39 PM
#3
Addicted Member
here you go
Dim I as integer
With frmTemp
For I = 0 to 4 step 1
.text(I)=strCell(I)
next I
end with
-
Jul 18th, 2000, 11:42 PM
#4
Thread Starter
Junior Member
Thanks very much guys, I'm new at this and loops are not one of my stonger points.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|