📜  vba 循环遍历文本框 - VBA 代码示例

📅  最后修改于: 2022-03-11 14:51:57.587000             🧑  作者: Mango

代码示例1
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