Article ID: 152379
Article Last Modified on 10/10/2006
Sub Main()
Sheets("Sheet1").Select
' Assign the counter an initial row value.
x = 1
' Loop through each text box in the activesheet.
For Each tbox in ActiveSheet.TextBoxes
' Select the next row down and place the text there.
Range("a" & x).Value = tbox.Text
' Increment the counter
x = x + 1
Next tbox
End SubAdditional query words: 5.00a 5.00c 7.00a vba 8.00 XL97 XL98 XL7 XL5 XL
Keywords: kbdtacode kbhowto kbprogramming KB152379