Sub SelectBoxesInColumnE()
Dim myTextBoxes() As String
Dim myBox As Object
Dim iBox As Integer
With ActiveSheet
iBox = 0
For Each myBox In .TextBoxes
If myBox.TopLeftCell.Column = 5 Then
iBox = 1 + iBox
ReDim Preserve myTextBoxes(1 To iBox)
myTextBoxes(iBox) = myBox.Name
End If
Next
.TextBoxes(myTextBoxes).Select
End With
End Sub
- Jon
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.