Answers for "vba loop through textboxes"

VBA
0

vba loop through textboxes

Dim ws As Worksheet
Dim t
    Set ws = Worksheets(1)
    For Each t In ws.OLEObjects
        If Left(t.Name, 7) = "TextBox" Then
            t.Object.Text = ""
        End If
    Next t
Posted by: Guest on January-31-2021

Code answers related to "VBA"

Browse Popular Code Answers by Language