Merhaba ustalarım,
ben bir userform oluşturuytorum.bu userform da çok fazla textbook,combobox mevcuttur. bir commandbutton yardımı ile nasıl tek tula silebilirim.
benim userformda kullandığım kod aşağıdadır.
yardımcı olursanız sevinirim. iyi çalışmalar.
Private Sub CommandButton5_Click()
For Each txt In Me.Controls
If Left(txt.Name, 7) = "TextBox" Then
txt.Value = ""
End If
Next
End Sub
ben bir userform oluşturuytorum.bu userform da çok fazla textbook,combobox mevcuttur. bir commandbutton yardımı ile nasıl tek tula silebilirim.
benim userformda kullandığım kod aşağıdadır.
yardımcı olursanız sevinirim. iyi çalışmalar.
Private Sub CommandButton5_Click()
For Each txt In Me.Controls
If Left(txt.Name, 7) = "TextBox" Then
txt.Value = ""
End If
Next
End Sub
