Hi all..

Please help me how to clear all textbox in form.
It really hard to set each of it.

Thank you
Aura

Recommended Answers

All 2 Replies

Try :

For Each Control In Me.Controls
    If TypeOf Control Is TextBox Then
        Control.Text = ""
    End If
Next Control

Thank you

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.